blob: e8793cc564f4f2fbb614a43fe0544f3e1bacbe84 (
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
33
|
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;
|