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

20 lines
489 B
TypeScript
Raw Normal View History

import logo from '../../../assets/img/unleash_logo_icon_dark _ alpha.gif';
2021-11-26 16:30:39 +01:00
import { formatAssetPath } from '../../../utils/format-path';
import { useStyles } from './Loader.styles';
const Loader = () => {
const styles = useStyles();
return (
<div className={styles.loader}>
2021-11-26 16:30:39 +01:00
<img
className={styles.img}
src={formatAssetPath(logo)}
alt="loading..."
/>
</div>
);
};
export default Loader;