mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-23 15:24:53 +00:00
22 lines
400 B
JavaScript
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;
|