import { type FC } from 'react';

import { IconInfoSquareRounded } from '@material-hu/icons/tabler';
import Stack from '@material-hu/mui/Stack';
import Typography from '@material-hu/mui/Typography';

import HuAvatar from '@material-hu/components/design-system/Avatar';

import { useLokaliseTranslation } from 'src/utils/i18n';

const EmptyComments: FC = () => {
  const { t } = useLokaliseTranslation('service_management');

  return (
    <Stack
      sx={{
        gap: 1,
        justifyContent: 'center',
        alignItems: 'center',
        textAlign: 'center',
        flexGrow: 1,
        px: 2,
      }}
    >
      <HuAvatar
        size="large"
        color="primary"
        Icon={IconInfoSquareRounded}
      />
      <Typography
        variant="globalM"
        fontWeight="semiBold"
      >
        {t('empty_comments')}
      </Typography>
      <Typography variant="globalXS">
        {t('empty_comments_description')}
      </Typography>
    </Stack>
  );
};

export default EmptyComments;
