"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

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

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

var _theme = _interopRequireDefault(require("./theme.css"));

var _box = _interopRequireDefault(require("../box"));

var _icon = _interopRequireDefault(require("../icon"));

var _uiIcons = require("@teamleader/ui-icons");

var AvatarTeam = function AvatarTeam(_ref) {
  var size = _ref.size;
  return /*#__PURE__*/_react.default.createElement(_box.default, {
    alignItems: "center",
    backgroundColor: "neutral",
    backgroundTint: "darkest",
    className: (0, _classnames.default)(_theme.default['avatar'], _theme.default['avatar-team']),
    "data-teamleader-ui": "avatar-team",
    display: "flex",
    justifyContent: "center"
  }, /*#__PURE__*/_react.default.createElement(_icon.default, {
    color: "neutral",
    tint: "light"
  }, size === 'tiny' || size === 'small' ? /*#__PURE__*/_react.default.createElement(_uiIcons.IconTeamSmallOutline, null) : /*#__PURE__*/_react.default.createElement(_uiIcons.IconTeamMediumOutline, null)));
};

var _default = AvatarTeam;
exports.default = _default;