Files

18 lines
418 B
JavaScript
Raw Permalink Normal View History

2023-07-22 13:28:30 +04:00
import Skeleton from '@mui/material/Skeleton'
import Box from '@mui/material/Box'
const drawerWidth = 240
export default function Loading() {
return (
<Box sx={{display: 'flex'}}>
<Box
component='main'
sx={{flexGrow: 1, p: 2, mt: 2, width: {sm: `calc(100% - ${drawerWidth}px)`}}}
>
<Skeleton variant='rectangular' width='100%' height='100%' />
</Box>
</Box>
)
}