1948f9e767
* Remove deprecated features at React v15.5
- [x] React.PropTypes
- [x] react-addons-pure-render-mixin
- [x] react-addons-test-utils
* Uncommented out & Add browserify_rails options
* re-add react-addons-shallow
* Fix syntax error from resolve conflicts
* follow up 59a77923b3
25 lines
386 B
JavaScript
25 lines
386 B
JavaScript
import PropTypes from 'prop-types';
|
|
|
|
const style = {
|
|
display: 'flex',
|
|
flex: '1 1 auto',
|
|
overflowX: 'auto'
|
|
};
|
|
|
|
class ColumnsArea extends React.PureComponent {
|
|
|
|
render () {
|
|
return (
|
|
<div className='columns-area' style={style}>
|
|
{this.props.children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
ColumnsArea.propTypes = {
|
|
children: PropTypes.node
|
|
};
|
|
|
|
export default ColumnsArea;
|