UNPKG

react-hotkeys-hook

Version:

React hook for using keyboard shortcuts in components. This is a hook version for the [hotkeys] package.

8 lines (7 loc) 201 B
/** * @deprecated Use isHotkeyPressed instead. Will be removed version 4. */ export declare function useIsHotkeyPressed(): { (keyCode: number): boolean; (keyCode: string): boolean; };