react-hotkeys
Version:
A declarative library for handling hotkeys and focus within a React application
10 lines • 407 B
JavaScript
/**
* 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.
*/
import invertArrayDictionary from '../utils/invertArrayDictionary';
var KeyOSAndLayoutAliasesDictionary = {};
export default invertArrayDictionary(KeyOSAndLayoutAliasesDictionary, {
includeOriginal: true
});