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.

20 lines (19 loc) 585 B
import { CompleteKey, SearchHandler } from '../types'; type Props = { className?: string; completeKey: CompleteKey; defaultPlaceholder?: string; emptyPlaceholder?: string; id: string; isDisabled?: boolean; onArrowDown: () => void; onArrowUp: () => void; onBlurByTab: () => void; onComplete: () => void; onEscape: () => void; onFocus: () => void; onSearch: SearchHandler; value: string; }; export declare const Search: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>; export {};