text: var modifierKeyToProp = {
      Alt: "altKey",
      Control: "ctrlKey",
      Meta: "metaKey",
      Shift: "shiftKey"
  };
  
  
  module.exports = getEventModifierState;
  
  
  function getEventModifierState(keyArg) {
      var nativeEvent = this.nativeEvent,
          keyProp;
  
      if (nativeEvent.getModifierState != null) {
          return nativeEvent.getModifierState(keyArg);
      } else {
          keyProp = modifierKeyToProp[keyArg];
          return keyProp ? !!nativeEvent[keyProp] : false;
      }
  }