TanStack

bindCustomHotkeyActions

ts
function bindCustomHotkeyActions(getStore): CustomHotkeyActions;

Defined in: adapter.ts:587

Custom hotkey actions that call the store from getStore each time, so they follow a store that changes.

Parameters

getStore

() => AppHotkeysStore<Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>>

Returns

CustomHotkeyActions