UNPKG

@tabula/ui-multi-selector

Version:

A MultiSelector allows users to select one or more items from a list of choices, or suggest own item.

12 lines (11 loc) 316 B
import { RefObject } from 'react'; import { SearchHandler } from '../../types'; type Result = { onEscape: () => void; onSearch: SearchHandler; search: string; searchId: string; searchRef: RefObject<HTMLInputElement>; }; export declare function useSearch(isDisabled?: boolean): Result; export {};