You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
386 B
26 lines
386 B
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;
|