TanStack

bindCustomHotkeyActions

ts
function bindCustomHotkeyActions(getStore): CustomHotkeyActions;

Defined in: adapter.ts:677

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, AppHotkeyBinding>>>>

Returns

CustomHotkeyActions