mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 07:55:25 +02:00
29 lines
747 B
TypeScript
29 lines
747 B
TypeScript
import {ReactElement} from "react"
|
|
import {useTranslation} from "react-i18next"
|
|
|
|
import {Grid, Typography} from "@mui/material"
|
|
import {mdiTextBoxMultiple} from "@mdi/js/commonjs/mdi"
|
|
import Icon from "@mdi/react"
|
|
|
|
export default function EmptyStateScreen(): ReactElement {
|
|
const {t} = useTranslation()
|
|
|
|
return (
|
|
<Grid container spacing={4} direction="column" alignItems="center">
|
|
<Grid item>
|
|
<Typography variant="h6" component="h2">
|
|
{t("routes.ReportsRoute.emptyState.title")}
|
|
</Typography>
|
|
</Grid>
|
|
<Grid item>
|
|
<Icon path={mdiTextBoxMultiple} size={2.5} />,
|
|
</Grid>
|
|
<Grid item>
|
|
<Typography variant="body1">
|
|
{t("routes.ReportsRoute.emptyState.description")}
|
|
</Typography>
|
|
</Grid>
|
|
</Grid>
|
|
)
|
|
}
|