UNPKG

@heroui/kbd

Version:

The keyboard key components indicates which key or set of keys used to execute a specificv action

7 lines (5 loc) 456 B
type KbdKey = "command" | "shift" | "ctrl" | "option" | "enter" | "delete" | "escape" | "tab" | "capslock" | "up" | "right" | "down" | "left" | "pageup" | "pagedown" | "home" | "end" | "help" | "space" | "fn" | "win" | "alt"; declare const kbdKeysMap: Record<KbdKey, string>; declare const kbdKeysLabelMap: Record<KbdKey, string>; type KbdKeysLabelType = typeof kbdKeysLabelMap; export { type KbdKey, type KbdKeysLabelType, kbdKeysLabelMap, kbdKeysMap };