TanStack
Hotkey Sequence API Reference

useHotkeySequences

ts
function useHotkeySequences(definitions, options?): void;

Defined in: useHotkeySequences.ts:9

Registers a changing list of sequences and releases it on unmount.

Parameters

definitions

HotkeySequenceDefinition[]

options?

SequenceOptions

Returns

void