import React from 'react'; import classnames from 'classnames'; class Panel extends React.Component { render = () => { if (this.props.component === null) { return