diff --git a/static/app/components/forms/fieldGroup/index.tsx b/static/app/components/forms/fieldGroup/index.tsx index 23cdfa471d1a7c..566f21f4fd8a14 100644 --- a/static/app/components/forms/fieldGroup/index.tsx +++ b/static/app/components/forms/fieldGroup/index.tsx @@ -96,7 +96,12 @@ function FieldGroup({ {helpElement && showHelpInTooltip && ( - + )} diff --git a/static/app/components/forms/fieldGroup/types.tsx b/static/app/components/forms/fieldGroup/types.tsx index dd15c4f454dba9..bb5078ec281d23 100644 --- a/static/app/components/forms/fieldGroup/types.tsx +++ b/static/app/components/forms/fieldGroup/types.tsx @@ -1,3 +1,5 @@ +import type {TooltipProps} from 'sentry/components/tooltip'; + /** * Props that control UI elements that are part of a Form Group */ @@ -91,9 +93,10 @@ export interface FieldGroupProps { */ required?: boolean; /** - * Displays the help element in the tooltip + * Displays the help element in the tooltip. Tooltip props may be passed to + * customize the help tooltip. */ - showHelpInTooltip?: boolean; + showHelpInTooltip?: boolean | Omit; /** * When stacking forms the bottom border is hidden and padding is adjusted * for form elements to be stacked on each other.