UNPKG

@tabula/ui-selector

Version:

Selector allow users to choose a single option from a collapsible list of options when space is limited

11 lines (10 loc) 345 B
import { Config, DefaultItem } from '../Selector.types'; type Options = { outerConfig: Config; defaultItem?: DefaultItem; searchValue: string; showSearchField?: boolean; loading?: boolean; }; export declare function useConfig({ outerConfig, defaultItem, searchValue, showSearchField, loading, }: Options): Config; export {};