"use strict";

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

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

var _tooltip = _interopRequireDefault(require("../tooltip"));

require("./index.css");

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

var prefix = "titaui-invite-people";

var InvitePeople = function InvitePeople() {
  var handleInvitePeople = function handleInvitePeople() {
    window.open("/#more/invite");
  };

  return /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
    overlay: "\u9080\u8BF7\u540C\u4E8B",
    placement: "right",
    align: {
      offset: [0, 0]
    }
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: prefix,
    onClick: handleInvitePeople
  }));
};

var _default = InvitePeople;
exports["default"] = _default;