您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PluginRequiredBrowser.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* @flow */
  2. import React, { Component } from 'react';
  3. import { CHROME, CHROMIUM, FIREFOX } from './browserLinks';
  4. /**
  5. * React component representing plugin installation required page.
  6. *
  7. * @class PluginRequiredBrowser
  8. */
  9. export default class PluginRequiredBrowser extends Component {
  10. /**
  11. * Renders the component.
  12. *
  13. * @returns {ReactElement}
  14. */
  15. render() {
  16. const ns = 'unsupported-desktop-browser';
  17. const nsLink = `${ns}__link`;
  18. return (
  19. <div className = { ns }>
  20. <h2 className = { `${ns}__title` }>
  21. Your browser requires a plugin for this conversation.
  22. </h2>
  23. <p className = { `${ns}__description_small` }>
  24. Once you install the plugin, it will be possible for you to
  25. have your conversation here. For the best experience,
  26. however, we strongly recommend that you do that using
  27. the&nbsp;
  28. <a
  29. className = { nsLink }
  30. href = { CHROME }>Chrome</a>,&nbsp;
  31. <a
  32. className = { nsLink }
  33. href = { CHROMIUM }>Chromium</a> or&nbsp;
  34. <a
  35. className = { nsLink }
  36. href = { FIREFOX }>Firefox</a> browsers.
  37. </p>
  38. </div>
  39. );
  40. }
  41. }