@tabula/ui-multi-selector
Version:
A MultiSelector allows users to select one or more items from a list of choices, or suggest own item.
18 lines (17 loc) • 591 B
TypeScript
import { BatchAction, CompleteKey, DropdownController, Option, Selected, UpdateHandler } from '../types';
type Props = {
addFound: BatchAction;
allowsCustomValue?: boolean;
className?: string;
completeKey: CompleteKey;
isPending: boolean;
maxSelectedLimit?: number;
onUpdate: UpdateHandler;
options: Option[];
search: string;
selectAll: BatchAction;
selectFound: BatchAction;
selected: Selected;
};
export declare const Dropdown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<DropdownController>>;
export {};