altCrashReportCallout.tsx 577 B

123456789101112131415161718
  1. import Alert from 'sentry/components/alert';
  2. import ExternalLink from 'sentry/components/links/externalLink';
  3. import {tct} from 'sentry/locale';
  4. export default function altCrashReportCallout() {
  5. return (
  6. <Alert type="info" showIcon>
  7. {tct(
  8. `Want to add an embeddable, JavaScript-based, crash-report modal to your website instead? [link:Read the docs] to learn how.`,
  9. {
  10. link: (
  11. <ExternalLink href="https://docs.sentry.io/platforms/dotnet/user-feedback/#crash-report-modal" />
  12. ),
  13. }
  14. )}
  15. </Alert>
  16. );
  17. }