import PureRenderMixin from 'react-addons-pure-render-mixin'; const ColumnHeader = React.createClass({ propTypes: { icon: React.PropTypes.string, type: React.PropTypes.string, active: React.PropTypes.bool, onClick: React.PropTypes.func }, mixins: [PureRenderMixin], handleClick () { this.props.onClick(); }, render () { const { type, active } = this.props; let icon = ''; if (this.props.icon) { icon = ; } return (