Skip to content

Commit f797f47

Browse files
committed
chore: add support for Escape key in KEYBOARD_KEYS_MAP
1 parent 8e59ff2 commit f797f47

File tree

1 file changed

+1
-0
lines changed
  • src/Common/Hooks/UseRegisterShortcut

1 file changed

+1
-0
lines changed

src/Common/Hooks/UseRegisterShortcut/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const KEYBOARD_KEYS_MAP = {
2121
Shift: '⇧',
2222
Meta: IS_PLATFORM_MAC_OS ? '⌘' : 'Win',
2323
Alt: IS_PLATFORM_MAC_OS ? '⌥' : 'Alt',
24+
Escape: 'Escape',
2425
F: 'F',
2526
E: 'E',
2627
R: 'R',

0 commit comments

Comments
 (0)