"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = void 0;
var _react = _interopRequireDefault(require("react")),
  _propTypes = _interopRequireDefault(require("prop-types")),
  _amosIcon = _interopRequireDefault(require("amos-icon"));

function _interopRequireDefault(e) {
  return e && e.__esModule ? e : {
    default: e
  }
}
var ActionItem = function(e) {
  var t = e.icon,
    r = e.onClick,
    e = e.tip;
  return _react.default.createElement("div", {
    className: "action-extra-item",
    onClick: r,
    title: e
  }, _react.default.createElement(_amosIcon.default, {
    icon: t
  }))
};
ActionItem.displayName = "ActionItem", ActionItem.propTypes = {
  icon: _propTypes.default.string,
  onClick: _propTypes.default.func,
  tip: _propTypes.default.string
};
var _default = ActionItem;
exports.default = ActionItem, module.exports = exports.default;
