You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
416 B

  1. import PureRenderMixin from 'react-addons-pure-render-mixin';
  2. const Drawer = React.createClass({
  3. mixins: [PureRenderMixin],
  4. render () {
  5. return (
  6. <div style={{ width: '280px', boxSizing: 'border-box', background: '#454b5e', margin: '10px', marginRight: '0', padding: '0', display: 'flex', flexDirection: 'column' }}>
  7. {this.props.children}
  8. </div>
  9. );
  10. }
  11. });
  12. export default Drawer;