2018-08-30 07:10:52 +00:00
|
|
|
import React, { Component } from 'react';
|
2018-10-16 10:19:51 +00:00
|
|
|
import PropTypes from 'prop-types';
|
2018-08-30 07:10:52 +00:00
|
|
|
|
2018-10-16 10:19:51 +00:00
|
|
|
const propTypes = {
|
|
|
|
children: PropTypes.object.isRequired,
|
|
|
|
};
|
|
|
|
|
2018-08-30 07:10:52 +00:00
|
|
|
class MainPanel extends Component {
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2022-10-12 10:10:12 +00:00
|
|
|
<div className="main-panel">
|
2018-11-26 06:00:32 +00:00
|
|
|
{this.props.children}
|
2018-09-29 10:32:53 +00:00
|
|
|
</div>
|
|
|
|
);
|
2018-08-30 07:10:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-16 10:19:51 +00:00
|
|
|
MainPanel.propTypes = propTypes;
|
|
|
|
|
2018-08-30 07:10:52 +00:00
|
|
|
export default MainPanel;
|