Spaces:
Sleeping
Sleeping
File size: 423 Bytes
01ea955 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import Backdrop from '@mui/material/Backdrop';
import CircularProgress from '@mui/material/CircularProgress';
interface SimpleBackdropProps {
open: boolean;
}
export default function SimpleBackdrop({ open }: SimpleBackdropProps) {
return (
<Backdrop
sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }}
open={open}
>
<CircularProgress color='inherit' />
</Backdrop>
);
}
|