File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 15
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
17
17
import React from "react" ;
18
- import { Grid } from "@mui/material" ;
19
- import { Loader } from "mds" ;
18
+ import { Loader , Grid } from "mds" ;
20
19
21
20
const LoadingComponent = ( ) => {
22
21
return (
23
22
< Grid
24
23
container
25
- spacing = { 0 }
26
- direction = "column"
27
- alignItems = "center"
28
- justifyContent = "center"
29
- style = { { minHeight : "100vh" } }
24
+ sx = { {
25
+ height : "100vh" ,
26
+ display : "flex" ,
27
+ flexDirection : "column" ,
28
+ alignItems : "center" ,
29
+ justifyContent : "center" ,
30
+ } }
30
31
>
31
- < Grid item xs = { 3 } style = { { textAlign : "center" } } >
32
+ < Grid
33
+ item
34
+ xs = { 3 }
35
+ sx = { { display : "flex" , justifyContent : "center" , alignItems : "center" } }
36
+ >
32
37
< Loader style = { { width : 35 , height : 35 } } />
33
38
</ Grid >
34
39
</ Grid >
You can’t perform that action at this time.
0 commit comments