import PropTypes from "prop-types";
import React from "react";

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

Icon.propTypes = {
  className: PropTypes.string,
  handleClick: PropTypes.func
};
export default Icon;