1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/assets/javascripts/components/features/ui/components/columns_area.jsx
2017-01-26 18:48:56 +01:00

27 lines
435 B
JavaScript

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