UNPKG
reakeys
Version:
latest (2.0.6)
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.1
1.3.0
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
React Hotkeys Hooks
github.com/reaviz/reakeys
reaviz/reakeys
reakeys
/
dist
/
utils.d.ts
6 lines
(5 loc)
•
199 B
TypeScript
View Raw
1
2
3
4
5
6
type
ModifierKey
=
'⌘'
|
'CTRL'
;
export
declare
function
isMac
(
):
boolean
;
export
declare
const
MODIFIER_KEY
:
ModifierKey
;
export
declare
function
getHotkeyText
(
hotkey
:
string
):
string
;
export
{};