import type { FC } from 'react'; import { Box, CircularProgress, Typography } from '@mui/material'; import type { Theme } from '@mui/material'; import { useI18nContext } from 'i18n/i18n-react'; interface LoadingSpinnerProps { height?: number | string; } const LoadingSpinner: FC = ({ height = '100%' }) => { const { LL } = useI18nContext(); return ( ({ margin: theme.spacing(4), color: theme.palette.text.secondary })} size={100} /> {LL.LOADING()}… ); }; export default LoadingSpinner;