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

DefaultUnsupportedDesktopBrowser.tsx 652B

12345678910111213141516171819202122232425262728293031
  1. import React, { Component } from 'react';
  2. /**
  3. * React component representing unsupported browser page.
  4. *
  5. * @class DefaultUnsupportedDesktopBrowser
  6. */
  7. class DefaultUnsupportedDesktopBrowser extends Component {
  8. /**
  9. * Redirects to the static recommended browsers page that is also used for IE.
  10. *
  11. * @returns {void}
  12. */
  13. componentDidMount() {
  14. window.location.pathname = 'static/recommendedBrowsers.html';
  15. }
  16. /**
  17. * Renders the component.
  18. *
  19. * @returns {ReactElement}
  20. */
  21. render() {
  22. return (
  23. <div />
  24. );
  25. }
  26. }
  27. export default DefaultUnsupportedDesktopBrowser;