UNPKG

@redocly/theme

Version:

Shared UI components lib

13 lines (12 loc) 618 B
import type { JSX } from 'react'; import type { ResolvedFilter } from '../../core/types'; import type { RedoclyConfig } from '../../config'; export type FilterContentProps = { setFilterTerm: (value: string) => void; filters: ResolvedFilter[]; filterTerm: string; filterValuesCasing?: NonNullable<RedoclyConfig['catalog']>[string]['filterValuesCasing'] | ((str: string) => string); hideSearch?: boolean; showCounter?: boolean; }; export declare function FilterContent({ setFilterTerm, filters, filterTerm, filterValuesCasing, hideSearch, showCounter, }: FilterContentProps): JSX.Element | null;