index.tsx 962 B

12345678910111213141516171819202122232425262728293031323334
  1. import ScreensTemplate from 'sentry/views/performance/mobile/components/screensTemplate';
  2. import {UIScreens} from 'sentry/views/performance/mobile/ui/screens';
  3. import {
  4. MODULE_DESCRIPTION,
  5. MODULE_DOC_LINK,
  6. MODULE_TITLE,
  7. } from 'sentry/views/performance/mobile/ui/settings';
  8. import {ModulePageProviders} from 'sentry/views/performance/modulePageProviders';
  9. import {ModuleName} from 'sentry/views/starfish/types';
  10. export function ResponsivenessModule() {
  11. return (
  12. <ScreensTemplate
  13. content={<UIScreens />}
  14. title={MODULE_TITLE}
  15. moduleName={ModuleName.MOBILE_UI}
  16. moduleDescription={MODULE_DESCRIPTION}
  17. moduleDocLink={MODULE_DOC_LINK}
  18. />
  19. );
  20. }
  21. function PageWithProviders() {
  22. return (
  23. <ModulePageProviders
  24. moduleName="mobile-ui"
  25. features={['insights-addon-modules', 'starfish-mobile-ui-module']}
  26. >
  27. <ResponsivenessModule />
  28. </ModulePageProviders>
  29. );
  30. }
  31. export default PageWithProviders;