UNPKG

@talend/react-components

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