UNPKG

@talend/react-components

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