UNPKG

@talend/react-components

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