feat: loading in center

This commit is contained in:
monoid 2022-07-06 16:42:32 +09:00
parent beafeb7ace
commit d331f68280

View File

@ -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>);
} }