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) 407 B
import { BatchAction, Option, Selected, UpdateHandler } from '../../../types'; import { Item } from '../../Dropdown.types'; type Options = { hasDividerAfter?: boolean; onUpdate: UpdateHandler; options: Option[]; selectAll: BatchAction; selected: Selected; }; export declare function buildSelectAll({ hasDividerAfter, onUpdate, options, selectAll, selected, }: Options): Item; export {};