2016-08-31 16:15:12 +02:00
|
|
|
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
2016-08-24 17:56:44 +02:00
|
|
|
|
|
|
|
const ColumnsArea = React.createClass({
|
|
|
|
|
2016-08-31 16:15:12 +02:00
|
|
|
mixins: [PureRenderMixin],
|
|
|
|
|
|
|
|
render () {
|
2016-08-24 17:56:44 +02:00
|
|
|
return (
|
2016-09-23 21:52:28 +02:00
|
|
|
<div style={{ display: 'flex', flexDirection: 'row', flex: '1', marginRight: '10px', marginBottom: '10px', overflowX: 'auto' }}>
|
2016-09-10 18:36:48 +02:00
|
|
|
{this.props.children}
|
2016-08-24 17:56:44 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2016-08-31 16:15:12 +02:00
|
|
|
|
2016-08-24 17:56:44 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
export default ColumnsArea;
|