TanStack
Hotkey Recorder API Reference

useHotkeyRecorder

ts
function useHotkeyRecorder(options): OctaneHotkeyRecorder;

Defined in: useHotkeyRecorder.ts:9

Records a shortcut and destroys the recorder on unmount.

Parameters

options

HotkeyRecorderOptions

Returns

OctaneHotkeyRecorder