Defined in: HotkeysProvider.ts:51
optional appHotkeys?: Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>;Defined in: HotkeysProvider.ts:59
Every app hotkey, from defineAppHotkeys. Read when the provider first renders; listed by useAppHotkeyList whether or not they are registered.
optional children?: unknown;Defined in: HotkeysProvider.ts:52
optional customHotkeys?:
| CustomHotkeys<Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>>
| null;Defined in: HotkeysProvider.ts:64
Starting custom hotkeys, such as saved data. Read once; the provider owns the state afterwards. Invalid entries are ignored with a warning.
optional defaultOptions?: DefaultHotkeysOptions;Defined in: HotkeysProvider.ts:54
Merged with the parent provider's defaults.
optional onCustomHotkeysChange?: (customHotkeys) => void;Defined in: HotkeysProvider.ts:66
Called with the custom hotkeys after every change, ready to save.
CustomHotkeys
void