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.

24 lines
648 B

  1. import StatusListContainer from '../containers/status_list_container';
  2. import ColumnHeader from './column_header';
  3. import PureRenderMixin from 'react-addons-pure-render-mixin';
  4. const Column = React.createClass({
  5. propTypes: {
  6. type: React.PropTypes.string
  7. },
  8. mixins: [PureRenderMixin],
  9. render () {
  10. return (
  11. <div style={{ width: '380px', flex: '0 0 auto', background: '#282c37', margin: '10px', marginRight: '0', display: 'flex', flexDirection: 'column' }}>
  12. <ColumnHeader type={this.props.type} />
  13. <StatusListContainer type={this.props.type} />
  14. </div>
  15. );
  16. }
  17. });
  18. export default Column;