/**
 * Copyright (c) 2017-present, Raphael Amorim.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * reference: https://developer.mozilla.org/en-US/docs/Web/Events
 *
 * @flow
 */

const EventConstants = {
  onClick: 'click',
  onBlur: 'blur',
  onFocus: 'focus',
  onSubmit: 'submit',
  onResize: 'resize',
  onLoad: 'load',
  onUnload: 'unload',
  onPress: 'keypress',
  onScroll: 'scroll',
  onKeypress: 'keypress',
  onKeydown: 'keydown',
  onKeyup: 'keyup',
};

export default EventConstants;

/**
 * Copyright (c) 2017-present, Raphael Amorim.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * reference: https://developer.mozilla.org/en-US/docs/Web/Events
 *
 * @flow
 */

const EventConstants = {
  onClick: 'click',
  onBlur: 'blur',
  onFocus: 'focus',
  onSubmit: 'submit',
  onResize: 'resize',
  onLoad: 'load',
  onUnload: 'unload',
  onPress: 'keypress',
  onScroll: 'scroll',
  onKeyPress: 'keypress',
  onKeyDown: 'keydown',
  onKeyUp: 'keyup',
};

export default EventConstants;

Fix 'onKeyDown', 'onKeyPress' and 'onKeyUp' callback name
Fix 'onKeyDown', 'onKeyPress' and 'onKeyUp' callback name
