UNPKG

@backstage/plugin-techdocs

Version:

The Backstage plugin that renders technical documentation for your components

37 lines (34 loc) 1.42 kB
import { jsx, jsxs } from 'react/jsx-runtime'; import { Container } from '@backstage/ui'; import { EntityListProvider, CatalogFilterLayout, UserListPicker, EntityOwnerPicker, EntityTagPicker } from '@backstage/plugin-catalog-react'; import { TechDocsPicker } from '../../home/components/TechDocsPicker.esm.js'; import { EntityListDocsTable } from '../../home/components/Tables/EntityListDocsTable.esm.js'; import '../../home/components/Tables/DocsTable.esm.js'; const TechDocsIndexPageContent = (props) => { const { initialFilter = "owned", columns, actions, ownerPickerMode, pagination, options } = props; return /* @__PURE__ */ jsx(Container, { mt: "6", children: /* @__PURE__ */ jsx(EntityListProvider, { pagination, children: /* @__PURE__ */ jsxs(CatalogFilterLayout, { children: [ /* @__PURE__ */ jsxs(CatalogFilterLayout.Filters, { children: [ /* @__PURE__ */ jsx(TechDocsPicker, {}), /* @__PURE__ */ jsx(UserListPicker, { initialFilter }), /* @__PURE__ */ jsx(EntityOwnerPicker, { mode: ownerPickerMode }), /* @__PURE__ */ jsx(EntityTagPicker, {}) ] }), /* @__PURE__ */ jsx(CatalogFilterLayout.Content, { children: /* @__PURE__ */ jsx( EntityListDocsTable, { actions, columns, options } ) }) ] }) }) }); }; export { TechDocsIndexPageContent }; //# sourceMappingURL=TechDocsIndexPageContent.esm.js.map