UNPKG

@talend/react-components

Version:
28 lines (26 loc) 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkboxColumnConfiguration = exports.cellType = void 0; exports.default = CheckboxColumn; var _Content = require("../Content.component"); var _CellCheckbox = _interopRequireDefault(require("./CellCheckbox.component")); var _jsxRuntime = require("react/jsx-runtime"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const cellType = exports.cellType = 'checkbox'; const checkboxColumnConfiguration = exports.checkboxColumnConfiguration = { cellRenderer: props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_CellCheckbox.default, { ...props }) }; // this is a fake component to be usable in JSX, // but the element is used as props object internally (VirtualizedList / RV) function CheckboxColumn() { return null; } CheckboxColumn.defaultProps = { ..._Content.defaultColumnConfiguration, ...checkboxColumnConfiguration }; //# sourceMappingURL=CheckboxColumn.component.js.map