blob: 632142bd485b27110a7b48156a681476fcf01594 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
|