1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/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;