Projekt

Obecné

Profil

Stáhnout (512 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 456b0111 Vaclav Honzik
import { CircularProgress, Stack, Typography } from '@mui/material'
2
import { Fragment } from 'react'
3 f2db3e05 Vaclav Honzik
4
/**
5
 * Component that shows a skeleton while the specified item is loading
6 456b0111 Vaclav Honzik
 * @returns
7 f2db3e05 Vaclav Honzik
 */
8
const ContentLoading = () => (
9
    <Fragment>
10
        <Typography align="center" fontWeight={400}>
11
            Loading ...
12
        </Typography>
13 456b0111 Vaclav Honzik
        <Stack sx={{ mt: 2 }} justifyContent="center" alignItems="center">
14
            <CircularProgress />
15 f2db3e05 Vaclav Honzik
        </Stack>
16
    </Fragment>
17
)
18
19
export default ContentLoading