You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NoWhiteboardError.tsx 542B

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