import Panel from 'sentry/components/panels/panel'; import PanelBody from 'sentry/components/panels/panelBody'; import {tct} from 'sentry/locale'; import TextBlock from 'sentry/views/settings/components/text/textBlock'; import type {Subscription} from 'getsentry/types'; const DEFAULT_MESSAGE = tct( 'Contact us at [mailto:support@sentry.io] to make changes to your subscription.', {mailto: } ); type Props = { subscription: Subscription; }; function PartnershipNote({subscription}: Props) { return ( {subscription.partner ? ( // usually we pass it through sentry.utils.marked but // markdown doesn't support adding attributes to links ) : ( {DEFAULT_MESSAGE} )} ); } export default PartnershipNote;