UNPKG

@redocly/theme

Version:

Shared UI components lib

18 lines (17 loc) 632 B
import { JSX } from 'react'; import type { CatalogEntityConfig } from '@redocly/config'; import { BffCatalogEntityList, CatalogSwitcherItem, CatalogViewMode } from '../../core/types'; type CatalogFiltersWithCounts = Record<string, { value: string; count: number; }[]>; export type CatalogProps = { catalogConfig: CatalogEntityConfig; filters?: CatalogFiltersWithCounts; entitiesTypes: string[]; initialEntitiesList?: BffCatalogEntityList; catalogSwitcherItems: CatalogSwitcherItem[]; initialViewMode?: CatalogViewMode; }; export declare function Catalog(props: CatalogProps): JSX.Element; export {};