Skip to content

Instantly share code, notes, and snippets.

@lawreyios
Created July 12, 2019 05:32
Show Gist options
  • Save lawreyios/f8f2e492a5a780d69e265b46ea10265a to your computer and use it in GitHub Desktop.
Save lawreyios/f8f2e492a5a780d69e265b46ea10265a to your computer and use it in GitHub Desktop.
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