aboutsummaryrefslogtreecommitdiff
path: root/src/components/Loading/Loading.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Loading/Loading.js')
-rw-r--r--src/components/Loading/Loading.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/components/Loading/Loading.js b/src/components/Loading/Loading.js
new file mode 100644
index 0000000..632142b
--- /dev/null
+++ b/src/components/Loading/Loading.js
@@ -0,0 +1,32 @@
+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),
+ },
+}));
+
+const Loading = () => {
+ const classes = useStyles();
+
+ return (
+ <Card elevation={5} className={classes.root}>
+ <CardHeader
+ avatar={(<CircularProgress color="secondary" />)}
+ title="Loading"
+ subheader="Please, wait."
+ />
+ </Card>
+ )
+};
+
+export default Loading;