Defined in: HotkeysProvider.tsx:46
HotkeysProviderScopeProps
T extends AppHotkeys = AppHotkeys
optional appHotkeys?: T;Defined in: HotkeysProvider.tsx:54
Every app hotkey, from defineAppHotkeys. Listed by useAppHotkeyList whether or not their components have mounted.
children: ComponentChildren;Defined in: HotkeysProvider.tsx:49
optional customHotkeys?: CustomHotkeys<T> | null;Defined in: HotkeysProvider.tsx:61
The user's saved custom hotkeys. When the value changes, such as after saved data loads or the user signs in, it replaces the current custom hotkeys. undefined leaves them unchanged; null clears them. Invalid entries are ignored with a warning.
optional defaultOptions?: HotkeysProviderOptions;Defined in: HotkeysProvider.tsx:65
Merged with the parent provider's defaults.
optional onCustomHotkeysChange?: (customHotkeys) => void;Defined in: HotkeysProvider.tsx:63
Called with the custom hotkeys after every change, ready to save.
CustomHotkeys<T>
void