diff options
Diffstat (limited to 'src/components/Loading/Loading.js')
-rw-r--r-- | src/components/Loading/Loading.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/components/Loading/Loading.js b/src/components/Loading/Loading.js deleted file mode 100644 index e8793cc..0000000 --- a/src/components/Loading/Loading.js +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; - -import { - Card, - CardHeader, -} from '@material-ui/core'; - -import { makeStyles } from '@material-ui/core/styles'; -import CircularProgress from '@material-ui/core/CircularProgress'; - - -const useStyles = makeStyles(theme => ({ - root: { - padding: theme.spacing(1), - background: theme.palette.background.elevation2, - }, -})); - -const Loading = () => { - const classes = useStyles(); - - return ( - <Card className={classes.root}> - <CardHeader - avatar={(<CircularProgress color="secondary" />)} - title="Loading" - subheader="Please, wait." - /> - </Card> - ) -}; - -export default Loading; |