about summary refs log tree commit diff
path: root/app/assets/javascripts/components/components/column_header.jsx
blob: 15a19589810913c7d7fe65258522d9352e8909e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import PureRenderMixin from 'react-addons-pure-render-mixin';

const ColumnHeader = React.createClass({

  propTypes: {
    type: React.PropTypes.string
  },

  mixins: [PureRenderMixin],

  render () {
    return (
      <div style={{ padding: '15px', fontSize: '16px', background: '#2f3441', flex: '0 0 auto' }}>
        {this.props.type}
      </div>
    );
  }

});

export default ColumnHeader;