parent
0e1098d893
commit
64f0c2d756
7 changed files with 249 additions and 179 deletions
@ -0,0 +1,31 @@ |
||||
import { makeStyles } from '@material-ui/core/styles'; |
||||
import CircularProgress from '@material-ui/core/CircularProgress'; |
||||
|
||||
const useStyles = makeStyles(() => ({ |
||||
root: { |
||||
display: 'flex', |
||||
/* '& > * + *': { |
||||
marginLeft: theme.spacing(2), |
||||
}, */ |
||||
alignItems: 'center', |
||||
justifyContent: 'center', |
||||
marginTop: '3em', |
||||
}, |
||||
spinner: { |
||||
color: '#FFF', |
||||
variant: 'indeterminate', |
||||
size: '50em', |
||||
}, |
||||
})); |
||||
|
||||
const Spinner = (): JSX.Element => { |
||||
const classes = useStyles(); |
||||
|
||||
return ( |
||||
<div className={classes.root}> |
||||
<CircularProgress className={classes.spinner} /> |
||||
</div> |
||||
); |
||||
}; |
||||
|
||||
export default Spinner; |
Loading…
Reference in new issue