import { CircularProgress, Stack } from '@mui/material';

export const Loading = () => {
  return (
    <Stack
      sx={{
        alignItems: 'center',
        justifyContent: 'center',
        position: 'fixed',
        inset: '0',
        zIndex: (t) => t.zIndex.tooltip + 1,
      }}
    >
      <CircularProgress size={50} />
    </Stack>
  );
};
