@talend/react-components
Version:
Set of react components.
31 lines (29 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.cellType = void 0;
exports.default = TitleColumn;
exports.titleColumnConfiguration = void 0;
var _Content = require("../Content.component");
var _CellTitle = _interopRequireDefault(require("./CellTitle.component"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const cellType = exports.cellType = 'title';
const titleColumnConfiguration = exports.titleColumnConfiguration = {
cellType,
cellRenderer: props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_CellTitle.default, {
...props
}),
className: 'tc-list-title-cell'
};
// this is a fake component to be usable in JSX,
// but the element is used as props object internally (VirtualizedList / RV)
function TitleColumn() {
return null;
}
TitleColumn.defaultProps = {
..._Content.defaultColumnConfiguration,
...titleColumnConfiguration
};
//# sourceMappingURL=TitleColumn.component.js.map