(feat): add hotkeys
This commit is contained in:
parent
915568f739
commit
85633a1c81
27 changed files with 1014 additions and 33 deletions
14
packages/hotkeys/src/index.ts
Normal file
14
packages/hotkeys/src/index.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
export { HotkeysProvider, useHotkey, useHotkeysContext } from "./context";
|
||||
export {
|
||||
defineHotkey,
|
||||
getHotkeyDefinitions,
|
||||
normalizeHotkeyOverrides,
|
||||
toElectronAccelerator,
|
||||
useHotkeyDefinitions,
|
||||
type HotkeyDefinition,
|
||||
} from "./registry";
|
||||
export {
|
||||
formatForDisplay,
|
||||
useHotkeyRecorder,
|
||||
type Hotkey,
|
||||
} from "@tanstack/react-hotkeys";
|
||||
Loading…
Reference in a new issue