UNPKG

react-hotkeys

Version:

A declarative library for handling hotkeys and focus within a React application

15 lines (14 loc) 243 B
/** * @typedef {number} KeyEventState */ /** * Enum for different states a key event can be recorded in * @readonly * @enum {KeyEventState} */ var KeyEventState = { unseen: 0, seen: 1, simulated: 2 }; export default KeyEventState;