mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
e1f99a7d01
* Rewrite admin. * Clean up password forms. * Fix naming issues. * CSS Naming.
17 lines
499 B
JavaScript
17 lines
499 B
JavaScript
import Exclamation from 'assets/exclamation-triangle.svg';
|
|
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import styles from './ErrorMessage.module.css';
|
|
import { Icon } from 'react-basics';
|
|
|
|
export default function ErrorMessage() {
|
|
return (
|
|
<div className={styles.error}>
|
|
<Icon className={styles.icon} size="large">
|
|
<Exclamation />
|
|
</Icon>
|
|
<FormattedMessage id="message.failure" defaultMessage="Something went wrong." />
|
|
</div>
|
|
);
|
|
}
|