about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/ui/components/columns_area.jsx
blob: 94433539bf5ad95738d97b6df964784583b30bce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import PureRenderMixin from 'react-addons-pure-render-mixin';

const ColumnsArea = React.createClass({

  mixins: [PureRenderMixin],

  render () {
    return (
      <div style={{ display: 'flex', flexDirection: 'row', flex: '1', justifyContent: 'flex-start', marginRight: '10px', marginBottom: '10px', overflowX: 'auto' }}>
        {this.props.children}
      </div>
    );
  }

});

export default ColumnsArea;