UNPKG

fixed-react-data-grid-custom

Version:

Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like

16 lines 915 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var react_1 = tslib_1.__importStar(require("react")); var classnames_1 = tslib_1.__importDefault(require("classnames")); var CellMask = react_1.forwardRef(function CellMask(_a, ref) { var width = _a.width, height = _a.height, top = _a.top, left = _a.left, zIndex = _a.zIndex, className = _a.className, props = tslib_1.__rest(_a, ["width", "height", "top", "left", "zIndex", "className"]); return (react_1.default.createElement("div", tslib_1.__assign({ className: classnames_1.default('rdg-cell-mask', className), style: { height: height, width: width, zIndex: zIndex, transform: "translate(" + left + "px, " + top + "px)" }, "data-test": "cell-mask", ref: ref }, props))); }); exports.default = CellMask; //# sourceMappingURL=CellMask.js.map