This repository has been archived by the owner on Sep 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
h0tw4t3r
committed
Mar 18, 2020
1 parent
cc0db60
commit 93051ba
Showing
3 changed files
with
21 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react' | ||
import Backdrop from '@material-ui/core/Backdrop' | ||
import CircularProgress from '@material-ui/core/CircularProgress' | ||
import { makeStyles } from '@material-ui/core/styles' | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
backdrop: { | ||
zIndex: theme.zIndex.drawer + 1 | ||
} | ||
})) | ||
|
||
const MUIBackdropProgress = () => ( | ||
<Backdrop className={useStyles().backdrop} open={true}> | ||
<CircularProgress color='primary' /> | ||
</Backdrop> | ||
) | ||
|
||
export default MUIBackdropProgress |
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
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