import React from 'react';
import PropTypes from 'prop-types';
import { NovaCompositionCoorpacademyBolt as BoltIcon } from '@coorpacademy/nova-icons';
import style from './style.css';
const Avatar = ({
  url
}) => {
  return /*#__PURE__*/React.createElement("div", {
    className: style.container
  }, /*#__PURE__*/React.createElement("div", {
    className: style.circle
  }, /*#__PURE__*/React.createElement("div", {
    className: style.avatar
  }, /*#__PURE__*/React.createElement("img", {
    className: style.avatarImg,
    src: url
  }))), /*#__PURE__*/React.createElement("div", {
    className: style.iconBubble
  }, /*#__PURE__*/React.createElement(BoltIcon, {
    className: style.icon
  })));
};
Avatar.propTypes = process.env.NODE_ENV !== "production" ? {
  url: PropTypes.string.isRequired
} : {};
export default Avatar;
//# sourceMappingURL=index.js.map