From a12e47a66fc24a9259a79df27130230d587821c1 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 6 Jan 2020 02:30:39 +0300 Subject: Implement Loading component (circular progress) --- src/components/Loading/Loading.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/components/Loading/Loading.js (limited to 'src/components/Loading') 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 ( + + )} + title="Loading" + subheader="Please, wait." + /> + + ) +}; + +export default Loading; -- cgit v1.2.3