react-hotkeys
Version:
A declarative library for handling hotkeys and focus within a React application
25 lines (22 loc) • 406 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* @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
};
var _default = EventResponse;
exports.default = _default;