fullIntroduction.tsx 677 B

123456789101112131415161718192021222324252627
  1. import {Fragment} from 'react';
  2. import {PlatformKey} from 'sentry/data/platformCategories';
  3. import platforms from 'sentry/data/platforms';
  4. import {t} from 'sentry/locale';
  5. import {Organization} from 'sentry/types';
  6. import SetupIntroduction from './setupIntroduction';
  7. type Props = {
  8. currentPlatform: PlatformKey;
  9. organization: Organization;
  10. };
  11. export default function FullIntroduction({currentPlatform}: Props) {
  12. return (
  13. <Fragment>
  14. <SetupIntroduction
  15. stepHeaderText={t(
  16. 'Prepare the %s SDK',
  17. platforms.find(p => p.id === currentPlatform)?.name ?? ''
  18. )}
  19. platform={currentPlatform}
  20. />
  21. </Fragment>
  22. );
  23. }