Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

NoRoomError.web.tsx 573B

1234567891011121314151617181920212223242526
  1. import React from 'react';
  2. import { useTranslation } from 'react-i18next';
  3. /**
  4. * The type of the React {@code Component} props of {@link NoRoomError}.
  5. */
  6. interface IProps {
  7. /**
  8. * Additional CSS classnames to append to the root of the component.
  9. */
  10. className: string;
  11. }
  12. const NoRoomError = ({ className }: IProps) => {
  13. const { t } = useTranslation();
  14. return (
  15. <div className = { className } >
  16. <div>{t('info.noNumbers')}</div>
  17. <div>{t('info.noRoom')}</div>
  18. </div>
  19. );
  20. };
  21. export default NoRoomError;