"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Wrapper = exports.TextAvatar = void 0;

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _templateObject, _templateObject2;

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

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var Wrapper = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  display: inline-block;\n  width: ", "px;\n  height: ", "px;\n  border-radius: 50%;\n  overflow: hidden;\n  position: relative; /* MARK: mask \u76F8\u5BF9\u70B9 */\n"])), function (p) {
  return p.size;
}, function (p) {
  return p.size;
});

exports.Wrapper = Wrapper;

var TextAvatar = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n  width: 100%;\n  height: 100%;\n  text-align: center;\n  line-height: ", "px;\n  background-color: ", ";\n  color: #fff;\n  font-size: 12px;\n"])), function (props) {
  return props.height;
}, function (props) {
  return props.background;
});

exports.TextAvatar = TextAvatar;