react-infinite-table
Version:
React table with infinite rows and much more!
18 lines (14 loc) • 449 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = _default;
function _default(props) {
var rie = 'Invariant Violation: ';
if (!props.height) {
throw new Error(rie + 'height must be provided.');
}
if (!(typeof props.rowHeight === 'number' || typeof props.rowHeight === 'function')) {
throw new Error(rie + 'You must provide either a number or a function as the rowHeight.');
}
}