function useHotkey(
hotkey,
callback,
options?): void;function useHotkey(
hotkey,
callback,
options?): void;Defined in: useHotkey.ts:11
Registers one shortcut. Callback and options are refreshed after every commit.
RegisterableHotkey
HotkeyCallback
HotkeyOptions
void