Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const exotic_1 = require("exotic");

const isEnter = event => {
  // console.debug('handle key down', props.event.key)
  return event.key === 'Enter' || event.key === 'enter';
};

exports.isEnter = isEnter;

function handleClick(props) {
  if (exotic_1.isFunction(props.onClick)) {
    props.onClick(props.event);
  }
}

exports.handleClick = handleClick; //# sourceMappingURL=deps.js.map