Files
omni-tools/src/components/Loading.tsx
Ibrahima G. Coulibaly adc114adcf chore: loading screen
2024-06-26 01:09:03 +01:00

35 lines
740 B
TypeScript

import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
import './Loading.css';
function Loading() {
return (
<Box
sx={{
width: '100%',
height: 0.8 * window.innerHeight,
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center'
}}
>
<Typography color="primary">Loading</Typography>
<Box
id="spinner"
sx={{
'& > div': {
backgroundColor: 'palette.secondary.main'
}
}}
>
<div className="bounce1" />
<div className="bounce2" />
<div className="bounce3" />
</Box>
</Box>
);
}
export default Loading;