Created
July 12, 2019 05:32
-
-
Save lawreyios/f8f2e492a5a780d69e265b46ea10265a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import React from 'react'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import CircularProgress from '@material-ui/core/CircularProgress'; | |
const classes = makeStyles(theme => ({ | |
progress: { | |
margin: theme.spacing(2), | |
}, | |
})); | |
const ProgressIndicator = (props) => { | |
return ( | |
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '50vh' }}> | |
<CircularProgress className={classes.progress} /> | |
</div> | |
) | |
} | |
export default ProgressIndicator; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment