"use strict";

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

var _propTypes = _interopRequireDefault(require("prop-types"));

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var Icon = function Icon(_ref) {
  var className = _ref.className,
      handleClick = _ref.handleClick;
  return _react["default"].createElement("span", null, _react["default"].createElement("i", {
    onClick: handleClick,
    className: className,
    "aria-hidden": "true"
  }));
};

Icon.propTypes = {
  className: _propTypes["default"].string,
  handleClick: _propTypes["default"].func
};
var _default = Icon;
exports["default"] = _default;