Migrated Components loader to mds (#3025)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-09-01 12:06:33 -06:00
committed by GitHub
parent 9acd49fcc6
commit f8e4f747f5

View File

@@ -15,20 +15,25 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
import React from "react";
import { Grid } from "@mui/material";
import { Loader } from "mds";
import { Loader, Grid } from "mds";
const LoadingComponent = () => {
return (
<Grid
container
spacing={0}
direction="column"
alignItems="center"
justifyContent="center"
style={{ minHeight: "100vh" }}
sx={{
height: "100vh",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
}}
>
<Grid item xs={3} style={{ textAlign: "center" }}>
<Grid
item
xs={3}
sx={{ display: "flex", justifyContent: "center", alignItems: "center" }}
>
<Loader style={{ width: 35, height: 35 }} />
</Grid>
</Grid>