"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var keyboardClickable = function keyboardClickable(e) {
  if (e.keyCode === 13 || e.keyCode === 32) {
    e.preventDefault();
    e.target.click();
    e.stopPropagation();
  }
};

var _default = keyboardClickable;
exports.default = _default;