@talend/react-components
Version:
Set of react components.
28 lines (26 loc) • 969 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.cellType = exports.badgeColumnConfiguration = void 0;
exports.default = BadgeColumn;
var _CellBadge = _interopRequireDefault(require("./CellBadge.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 = 'badge';
const badgeColumnConfiguration = exports.badgeColumnConfiguration = {
cellRenderer: props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_CellBadge.default, {
...props
})
};
// this is a fake component to be usable in JSX,
// but the element is used as props object internally (VirtualizedList / RV)
function BadgeColumn() {
return null;
}
BadgeColumn.defaultProps = {
..._Content.defaultColumnConfiguration,
...badgeColumnConfiguration
};
//# sourceMappingURL=BadgeColumn.component.js.map