fixed-react-data-grid-custom
Version:
Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
14 lines • 696 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function shouldRowUpdate(nextProps, currentProps) {
return currentProps.columns !== nextProps.columns
|| nextProps.row !== currentProps.row
|| currentProps.colOverscanStartIdx !== nextProps.colOverscanStartIdx
|| currentProps.colOverscanEndIdx !== nextProps.colOverscanEndIdx
|| currentProps.isSelected !== nextProps.isSelected
|| currentProps.isScrolling !== nextProps.isScrolling
|| nextProps.height !== currentProps.height
|| currentProps.extraClasses !== nextProps.extraClasses;
}
exports.default = shouldRowUpdate;
//# sourceMappingURL=RowComparer.js.map
;