feat: loading in center
This commit is contained in:
parent
beafeb7ace
commit
d331f68280
@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import {Box, CircularProgress} from '@mui/material';
|
import {Box, CircularProgress} from '@mui/material';
|
||||||
|
|
||||||
export const LoadingCircle = ()=>{
|
export const LoadingCircle = ()=>{
|
||||||
return (<Box style={{alignSelf:'center'}}>
|
return (<Box style={{position:"absolute", top:"50%", left:"50%", transform:"translate(-50%,-50%)"}}>
|
||||||
<CircularProgress title="loading"/>
|
<CircularProgress title="loading" />
|
||||||
</Box>);
|
</Box>);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user