1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00
unleash.unleash/frontend/src/component/common/Loader/Loader.tsx
Fredrik Strand Oseberg 710b689490 fix: sloader path (#530)
2021-11-26 16:30:39 +01:00

20 lines
489 B
TypeScript

import logo from '../../../assets/img/unleash_logo_icon_dark _ alpha.gif';
import { formatAssetPath } from '../../../utils/format-path';
import { useStyles } from './Loader.styles';
const Loader = () => {
const styles = useStyles();
return (
<div className={styles.loader}>
<img
className={styles.img}
src={formatAssetPath(logo)}
alt="loading..."
/>
</div>
);
};
export default Loader;