UNPKG

@talend/react-components

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