UNPKG

react-hotkeys

Version:

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

17 lines (16 loc) 271 B
/** * @typedef {number} EventResponseType */ /** * Enum for different ways to respond to a key event * @readonly * @enum {EventResponseType} */ var EventResponse = { unseen: 0, ignored: 1, seen: 2, recorded: 3, handled: 4 }; export default EventResponse;