import React from 'react'; import TableColumnMixin from '../../mixins/table_column_mixin'; import GeneralUtils from '../../utils/general_utils'; import TableHeaderItem from './table_header_item'; import TableColumnModel from '../../models/table_column_model'; let TableHeader = React.createClass({ mixins: [TableColumnMixin], propTypes: { columnList: React.PropTypes.arrayOf(React.PropTypes.instanceOf(TableColumnModel)), itemList: React.PropTypes.array.isRequired, fetchList: React.PropTypes.func.isRequired, orderAsc: React.PropTypes.bool.isRequired, orderBy: React.PropTypes.string.isRequired }, render() { return (