Archived
2
0
Fork 0

Making upload button into a smaller icon button

This commit is contained in:
Eugen Rochko 2016-11-13 19:08:52 +01:00
parent d42ed78aa4
commit 50d3083cbd
19 changed files with 85 additions and 229 deletions

View file

@ -0,0 +1,26 @@
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;