import React from 'react'; import TableColumnMixin from '../../mixins/table_column_mixin'; import TableColumnContentModel from '../../models/table_column_content_model'; let TableItem = React.createClass({ mixins: [TableColumnMixin], propTypes: { columnList: React.PropTypes.arrayOf(React.PropTypes.instanceOf(TableColumnContentModel)), columnContent: React.PropTypes.object }, render() { let calcColumnElementContent = () => { return this.props.columnList.map((column, i) => { let TypeElement = column.displayType; let columnClass = this.calcColumnClasses(this.props.columnList, i); return (