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

Function widthStyle

lib/DataCell.js:64–67  ·  view source on GitHub ↗
(cell)

Source from the content-addressed store, hash-verified

62}
63
64function widthStyle(cell) {
65 var width = typeof cell.width === 'number' ? cell.width + 'px' : cell.width;
66 return width ? { width: width } : null;
67}
68
69var DataCell = function (_PureComponent) {
70 _inherits(DataCell, _PureComponent);

Callers 1

DataCell.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected