dataConsentCheckbox.tsx 648 B

123456789101112131415161718192021
  1. import CheckboxField from 'sentry/components/forms/fields/checkboxField';
  2. import ExternalLink from 'sentry/components/links/externalLink';
  3. import {tct} from 'sentry/locale';
  4. export default function DataConsentOrgCreationCheckbox() {
  5. return (
  6. <CheckboxField
  7. name="aggregatedDataConsent"
  8. label={tct(
  9. 'I agree to let Sentry use my service data for product improvements. [dataConsentLink: Learn more].',
  10. {
  11. dataConsentLink: (
  12. <ExternalLink href="https://docs.sentry.io/security-legal-pii/security/ai-ml-policy/" />
  13. ),
  14. }
  15. )}
  16. inline={false}
  17. stacked
  18. />
  19. );
  20. }