@redocly/theme
Version:
Shared UI components lib
22 lines • 1.11 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CatalogOwnersCell = CatalogOwnersCell;
const react_1 = __importDefault(require("react"));
const CatalogTags_1 = require("../../../components/Catalog/CatalogTags");
function CatalogOwnersCell({ owners }) {
return (react_1.default.createElement("div", { "data-component-name": "Catalog/CatalogTableView/CatalogOwnersCell" },
react_1.default.createElement(CatalogTags_1.CatalogTags, { "data-testid": "catalog-owners-cell", items: owners, showPlaceholder: false, tagProps: {
variant: 'outline',
style: {
fontSize: 'var(--font-size-base)',
backgroundColor: 'transparent',
borderRadius: 'var(--border-radius-xl)',
margin: 0,
},
textTransform: 'none',
}, showAvatars: true })));
}
//# sourceMappingURL=CatalogOwnersCell.js.map