index.tsx 866 B

12345678910111213141516171819202122232425
  1. import Feature from 'sentry/components/acl/feature';
  2. import useOrganization from 'sentry/utils/useOrganization';
  3. import ScreensTemplate from 'sentry/views/performance/mobile/components/screensTemplate';
  4. import {UIScreens} from 'sentry/views/performance/mobile/ui/screens';
  5. import {ROUTE_NAMES} from 'sentry/views/starfish/utils/routeNames';
  6. export default function ResponsivenessModule() {
  7. const organization = useOrganization();
  8. return (
  9. <Feature
  10. features={['spans-first-ui', 'starfish-mobile-ui-module']}
  11. organization={organization}
  12. >
  13. <ScreensTemplate
  14. content={<UIScreens />}
  15. compatibilityProps={{
  16. compatibleSDKNames: ['sentry.cocoa', 'sentry.java.android'],
  17. docsUrl: 'www.docs.sentry.io', // TODO: Add real docs URL
  18. }}
  19. title={ROUTE_NAMES.mobileUI}
  20. />
  21. </Feature>
  22. );
  23. }