'use strict';

Object.defineProperty(exports, "__esModule", {
	value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _CellModel = require('./CellModel.scss');

var _CellModel2 = _interopRequireDefault(_CellModel);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 TODO
 * cellData : the data from collection (rowData[dataKey])
 * columnData : the data passed from VirtualizedList.Content > columnData, enhanced with the list id
 * dataKey : the property key
 * rowData : the collection item
 * rowIndex : the row (item) index
 */
function CellModel(_ref) {
	var cellData = _ref.cellData,
	    columnData = _ref.columnData,
	    dataKey = _ref.dataKey,
	    rowData = _ref.rowData,
	    rowIndex = _ref.rowIndex;

	return (
		/**
   TODO
   * change the classname
   */
		_react2.default.createElement('div', { className: 'tc-list-model ' + _CellModel2.default['tc-list-model'] })
	);
}

/**
 TODO
 * change display name
 */


/**
 TODO
 * change the style file
 */
/* eslint-disable */ // TODO remove that
CellModel.displayName = 'VirtualizedList(CellModel)';
CellModel.propTypes = {
	/**
  TODO
  * change the propTypes accordingly to your data format
  */
	/** The cell value : props.rowData[props.dataKey] */
	cellData: _react.PropTypes.string,
	/** The custom props passed to <VirtualizedList.Content columnData={}>. */
	columnData: _react.PropTypes.shape({}),
	/** The data property key. */
	dataKey: _react.PropTypes.string,
	/** The collection item. */
	rowData: _react.PropTypes.object, // eslint-disable-line
	/** The collection item index. */
	rowIndex: _react.PropTypes.number
};
/* eslint-enable */ // TODO remove that

exports.default = CellModel;