fullIntroduction.tsx 526 B

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