"use strict";

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

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

var _classnames = _interopRequireDefault(require("classnames"));

var _getLocale = require("../../../utils/getLocale");

require("./index.css");

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

function _default(_ref) {
  var _ref$errorTip = _ref.errorTip,
      errorTip = _ref$errorTip === void 0 ? "" : _ref$errorTip;
  return /*#__PURE__*/_react["default"].createElement("div", {
    style: {
      textAlign: "center"
    }
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "persel-empty"
  }, /*#__PURE__*/_react["default"].createElement("span", {
    className: (0, _classnames["default"])("icon", {
      "empty-special": !!errorTip
    })
  })), /*#__PURE__*/_react["default"].createElement("span", {
    className: "empty-tip"
  }, errorTip || (0, _getLocale.getLocale)("OKR_MyO_Thnothinghere")));
}