react-hotkeys
Version:
A declarative library for handling hotkeys and focus within a React application
23 lines (17 loc) • 684 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _invertArrayDictionary = _interopRequireDefault(require("../utils/invertArrayDictionary"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* A dictionary of key aliases to make it easier to specify key maps that work
* across different keyboard layouts and operating systems - this builds on top
* of what React already does.
*/
var KeyOSAndLayoutAliasesDictionary = {};
var _default = (0, _invertArrayDictionary.default)(KeyOSAndLayoutAliasesDictionary, {
includeOriginal: true
});
exports.default = _default;