diff options
author | eug-vs <eug-vs@keemail.me> | 2020-03-21 15:32:02 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-03-21 15:32:02 +0300 |
commit | 2e9e20414c2ea49d7f40bcff09b89897e13fd2f4 (patch) | |
tree | 03e34134c9ba1b735de45196b9745d883c9c2168 /src/components/Loading/Loading.js | |
parent | 2ca9cbb36e25e280a1b26c9dc03eaea30e1dcc9d (diff) | |
download | chrono-cube-ui-2e9e20414c2ea49d7f40bcff09b89897e13fd2f4.tar.gz |
chore: migrate components to Typescript
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; |