UNPKG

react-keybinder

Version:

🚀 A simple React hook for handling keyboard shortcuts and keybindings effortlessly.

4 lines • 205 B
type KeyBindCallback = (event: KeyboardEvent) => void; declare const useKeyBinder: (keyCombo: string, callback: KeyBindCallback) => void; export { useKeyBinder }; //# sourceMappingURL=useKeyBinder.d.ts.map