2017-05-03 10:04:16 +10:00
|
|
|
import React from 'react';
|
2017-04-22 04:05:35 +10:00
|
|
|
import PropTypes from 'prop-types';
|
2016-08-25 01:56:44 +10:00
|
|
|
|
2017-04-22 04:05:35 +10:00
|
|
|
class ColumnsArea extends React.PureComponent {
|
2016-09-01 00:15:12 +10:00
|
|
|
|
2017-05-12 22:44:10 +10:00
|
|
|
static propTypes = {
|
2017-05-21 01:31:47 +10:00
|
|
|
children: PropTypes.node,
|
2017-05-12 22:44:10 +10:00
|
|
|
};
|
|
|
|
|
2016-09-01 00:15:12 +10:00
|
|
|
render () {
|
2016-08-25 01:56:44 +10:00
|
|
|
return (
|
2017-04-23 12:26:55 +10:00
|
|
|
<div className='columns-area'>
|
2016-09-11 02:36:48 +10:00
|
|
|
{this.props.children}
|
2016-08-25 01:56:44 +10:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2016-09-01 00:15:12 +10:00
|
|
|
|
2017-04-22 04:05:35 +10:00
|
|
|
}
|
|
|
|
|
2016-08-25 01:56:44 +10:00
|
|
|
export default ColumnsArea;
|