@tabula/ui-multi-selector
Version:
A MultiSelector allows users to select one or more items from a list of choices, or suggest own item.
11 lines (10 loc) • 338 B
TypeScript
import { BatchAction, UpdateHandler } from '../../../types';
import { Item } from '../../Dropdown.types';
type Options = {
onUpdate: UpdateHandler;
search: string;
selectFound: BatchAction;
values: string[];
};
export declare function buildSelectFound({ onUpdate, selectFound, search, values }: Options): Item;
export {};