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.

NoMobileApp.js 894B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* @flow */
  2. import React, { Component } from 'react';
  3. import { HideNotificationBarStyle } from '../../base/react';
  4. declare var interfaceConfig: Object;
  5. /**
  6. * React component representing no mobile app page.
  7. *
  8. * @class NoMobileApp
  9. */
  10. export default class NoMobileApp extends Component<*> {
  11. /**
  12. * Renders the component.
  13. *
  14. * @returns {ReactElement}
  15. */
  16. render() {
  17. const ns = 'no-mobile-app';
  18. return (
  19. <div className = { ns }>
  20. <h2 className = { `${ns}__title` }>
  21. Video chat isn't available on mobile.
  22. </h2>
  23. <p className = { `${ns}__description` }>
  24. Please use { interfaceConfig.NATIVE_APP_NAME } on desktop to
  25. join calls.
  26. </p>
  27. <HideNotificationBarStyle />
  28. </div>
  29. );
  30. }
  31. }