react-hotkeys
Version:
A declarative library for handling hotkeys and focus within a React application
19 lines (14 loc) • 644 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _dictionaryFrom = _interopRequireDefault(require("../utils/object/dictionaryFrom"));
var _translateToKey = _interopRequireDefault(require("../vendor/react-dom/translateToKey"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Dictionary of keys whose name is not a single symbol or character
*/
var NonPrintableKeysDictionary = (0, _dictionaryFrom.default)(Object.values(_translateToKey.default), true);
var _default = NonPrintableKeysDictionary;
exports.default = _default;