downshift
Version:
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
5 lines (4 loc) • 301 B
TypeScript
import { UseTagGroupMergedProps, UseTagGroupReducerAction, UseTagGroupState } from './index.types';
export declare function useTagGroupReducer<Item>(state: UseTagGroupState<Item>, action: UseTagGroupReducerAction<Item> & {
props: UseTagGroupMergedProps<Item>;
}): Partial<UseTagGroupState<Item>>;