import React from 'react';
import PropTypes from 'prop-types';
import { NovaSolidInterfaceFeedbackInterfaceAlertTriangle as AlertIcon } from '@coorpacademy/nova-icons';
import styles from './style.css';
const LoginAlert = ({
  body
}) => /*#__PURE__*/React.createElement("div", {
  className: styles.container
}, /*#__PURE__*/React.createElement("div", {
  className: styles.content
  // eslint-disable-next-line react/no-danger
  ,
  dangerouslySetInnerHTML: {
    __html: body
  }
}), /*#__PURE__*/React.createElement("div", {
  className: styles.iconContainer
}, /*#__PURE__*/React.createElement(AlertIcon, {
  className: styles.icon
})));
LoginAlert.propTypes = process.env.NODE_ENV !== "production" ? {
  body: PropTypes.string.isRequired
} : {};
export default LoginAlert;
//# sourceMappingURL=index.js.map