1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/common/Loader/Loader.tsx

16 lines
441 B
TypeScript
Raw Normal View History

import logo from 'assets/img/unleashLogoIconDarkAlpha.gif';
import { formatAssetPath } from 'utils/formatPath';
import { useStyles } from './Loader.styles';
const Loader = () => {
const { classes: styles } = useStyles();
return (
2022-04-20 12:17:24 +02:00
<div className={styles.loader} role="alert" aria-label="Loading">
<img className={styles.img} src={formatAssetPath(logo)} alt="" />
</div>
);
};
export default Loader;