mastodon/app/assets/javascripts/components/components/column_header.jsx
2016-08-31 16:15:12 +02:00

22 lines
400 B
JavaScript

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;