index.tsx 827 B

12345678910111213141516171819202122232425262728
  1. import ScreensTemplate from 'sentry/views/performance/mobile/components/screensTemplate';
  2. import {UIScreens} from 'sentry/views/performance/mobile/ui/screens';
  3. import {ModulePageProviders} from 'sentry/views/performance/modulePageProviders';
  4. import {ModuleName} from 'sentry/views/starfish/types';
  5. import {ROUTE_NAMES} from 'sentry/views/starfish/utils/routeNames';
  6. export function ResponsivenessModule() {
  7. return (
  8. <ScreensTemplate
  9. content={<UIScreens />}
  10. title={ROUTE_NAMES.mobileUI}
  11. moduleName={ModuleName.MOBILE_UI}
  12. />
  13. );
  14. }
  15. function PageWithProviders() {
  16. return (
  17. <ModulePageProviders
  18. moduleName="mobile-ui"
  19. features={['spans-first-ui', 'starfish-mobile-ui-module']}
  20. >
  21. <ResponsivenessModule />
  22. </ModulePageProviders>
  23. );
  24. }
  25. export default PageWithProviders;