hometown/app/assets/javascripts/components/features/ui/components/columns_area.jsx
2016-10-12 19:14:47 +02:00

25 lines
411 B
JavaScript

import PureRenderMixin from 'react-addons-pure-render-mixin';
const style = {
display: 'flex',
flex: '1 1 auto',
justifyContent: 'flex-start',
overflowX: 'auto'
};
const ColumnsArea = React.createClass({
mixins: [PureRenderMixin],
render () {
return (
<div className='columns-area' style={style}>
{this.props.children}
</div>
);
}
});
export default ColumnsArea;