2016-08-24 18:56:44 +03:00
|
|
|
import StatusListContainer from '../containers/status_list_container';
|
|
|
|
import ColumnHeader from './column_header';
|
|
|
|
|
|
|
|
const Column = React.createClass({
|
|
|
|
propTypes: {
|
|
|
|
type: React.PropTypes.string
|
|
|
|
},
|
|
|
|
|
|
|
|
render: function() {
|
|
|
|
return (
|
2016-08-25 20:52:55 +03:00
|
|
|
<div style={{ width: '380px', flex: '0 0 auto', background: '#282c37', margin: '10px', marginRight: '0', display: 'flex', flexDirection: 'column' }}>
|
2016-08-24 18:56:44 +03:00
|
|
|
<ColumnHeader type={this.props.type} />
|
|
|
|
<StatusListContainer type={this.props.type} />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default Column;
|