UNPKG

siegel

Version:

Web application development ecosystem

20 lines (19 loc) 495 B
type Handlers = { onEnter(): void; onDelete(): void; }; type Store = ReactStore<{ arrowSelectIndex: number | undefined; } & Obj>; type Options = { disabled?: boolean; }[]; type SelectedOptionIndex = number | undefined; declare function handleKeyboardSelect(selectionParams: { keyCode: string; selectStore: Store; options: Options; selectedOptionIndex: SelectedOptionIndex; }, handlers: Handlers): void; export default handleKeyboardSelect; export type { Store };