"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _novaIcons = require("@coorpacademy/nova-icons");
var _style = _interopRequireDefault(require("./style.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Avatar = ({
  url
}) => {
  return /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.container
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.circle
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.avatar
  }, /*#__PURE__*/_react.default.createElement("img", {
    className: _style.default.avatarImg,
    src: url
  }))), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.iconBubble
  }, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyBolt, {
    className: _style.default.icon
  })));
};
Avatar.propTypes = process.env.NODE_ENV !== "production" ? {
  url: _propTypes.default.string.isRequired
} : {};
var _default = exports.default = Avatar;
//# sourceMappingURL=index.js.map