"use strict";

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

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

var _precls = require("../precls");

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

require("./index.css");

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

function RelationTitle(_ref) {
  var relation = _ref.relation;
  var relationTitle = {
    2: (0, _getLocale.getLocale)("OKR_Menu_Title_Collaborator"),
    3: (0, _getLocale.getLocale)("OKR_Menu_Title_FollowingOKRs")
  };
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(_precls.precls, "__header-relation-title")
  }, relationTitle[relation]);
}

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