"use strict";

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

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

var _photoCard = _interopRequireDefault(require("../../../components/photo-card"));

require("./index.css");

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

function UserTitle(_ref) {
  var toUserId = _ref.toUserId;
  // todo: 关注 ｜ 取消关注
  if (!toUserId) return null;
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_photoCard["default"], {
    userId: toUserId
  }));
}

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