UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

7 lines (6 loc) 344 B
/// <reference types="react" /> import type * as Common from "../../common/types"; type Event<T> = Common.Event<React.SyntheticEvent<T>> | React.KeyboardEventHandler<T>; type HandleKeyDown = <K>(onClick?: Event<K>, action?: () => void) => React.KeyboardEventHandler<K>; declare const handleKeyDown: HandleKeyDown; export default handleKeyDown;