Defined in: HotkeysProvider.tsx:53
HotkeysProviderScopeProps
T extends AppHotkeys = AppHotkeys
optional appHotkeys?: T;Defined in: HotkeysProvider.tsx:61
Every app hotkey, from defineAppHotkeys. Listed by useAppHotkeyList whether or not their components have mounted.
children: ReactNode;Defined in: HotkeysProvider.tsx:56
optional customHotkeys?: CustomHotkeys<T> | null;Defined in: HotkeysProvider.tsx:66
Starting custom hotkeys, such as saved data. Read once; the provider owns the state afterwards. Invalid entries are ignored with a warning.
optional defaultOptions?: HotkeysProviderOptions;Defined in: HotkeysProvider.tsx:70
Merged with the parent provider's defaults.
optional onCustomHotkeysChange?: (customHotkeys) => void;Defined in: HotkeysProvider.tsx:68
Called with the custom hotkeys after every change, ready to save.
CustomHotkeys<T>
void