generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1667 from awlFCCamp/update-HTMLtoMUI-donutchartlo…
…ading update html components to mui components including loading
- Loading branch information
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
import React from "react"; | ||
import Loading from "../../svg/22.gif"; | ||
|
||
import "../../sass/Dashboard.scss"; | ||
import React from 'react'; | ||
import { Box, Container, CircularProgress, Typography } from '@mui/material'; | ||
import '../../sass/Dashboard.scss'; | ||
|
||
const DonutChartLoading = (props) => ( | ||
<div className="dashboard-stats"> | ||
<div className="dashboard-stat-container"> | ||
<div className="stat-header"> | ||
<p className="stat-header-text"></p> | ||
</div> | ||
<div className="stat-number"></div> | ||
</div> | ||
<div className="dashboard-chart-container"> | ||
<img src={Loading} alt="Logo" /> | ||
</div> | ||
</div> | ||
<Container className="dashboard-stats"> | ||
<Box className="dashboard-stat-container"> | ||
<Box className="stat-header"> | ||
<Typography className="stat-header-text"></Typography> | ||
</Box> | ||
<Box className="stat-number"></Box> | ||
</Box> | ||
<Box className="dashboard-chart-container"> | ||
<CircularProgress /> | ||
</Box> | ||
</Container> | ||
); | ||
|
||
export default DonutChartLoading; |