add loading all page & change bugs
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Skeleton } from '@mui/material'
|
||||
|
||||
function CircularLoading({ loading, width, height, children }) {
|
||||
return loading ? (
|
||||
<Skeleton
|
||||
variant="circular"
|
||||
height={height}
|
||||
width={width}
|
||||
/>
|
||||
) : children
|
||||
}
|
||||
|
||||
export default CircularLoading
|
||||
Reference in New Issue
Block a user