chinwagsocial/app/assets/javascripts/components/features/compose/components/drawer.jsx
2016-11-13 19:08:52 +01:00

26 lines
438 B
JavaScript

import PureRenderMixin from 'react-addons-pure-render-mixin';
const style = {
boxSizing: 'border-box',
background: '#454b5e',
padding: '0',
display: 'flex',
flexDirection: 'column',
overflowY: 'auto'
};
const Drawer = React.createClass({
mixins: [PureRenderMixin],
render () {
return (
<div className='drawer' style={style}>
{this.props.children}
</div>
);
}
});
export default Drawer;