MCPcopy
hub / github.com/nadbm/react-datasheet / initialData

Function initialData

lib/DataCell.js:45–53  ·  view source on GitHub ↗
(_ref)

Source from the content-addressed store, hash-verified

43function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
44
45function initialData(_ref) {
46 var cell = _ref.cell,
47 row = _ref.row,
48 col = _ref.col,
49 valueRenderer = _ref.valueRenderer,
50 dataRenderer = _ref.dataRenderer;
51
52 return (0, _renderHelpers.renderData)(cell, row, col, valueRenderer, dataRenderer);
53}
54
55function initialValue(_ref2) {
56 var cell = _ref2.cell,

Callers 1

DataCell.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected