diff --git a/src/common/components/forms/FormLabelStart.tsx b/src/common/components/forms/FormLabelStart.tsx index cf0fcc333..a019574bc 100644 --- a/src/common/components/forms/FormLabelStart.tsx +++ b/src/common/components/forms/FormLabelStart.tsx @@ -5,6 +5,7 @@ import { FormHelperText, FormLabel } from '@mui/joy'; import InfoIcon from '@mui/icons-material/Info'; import { GoodTooltip } from '~/common/components/GoodTooltip'; +import WarningRoundedIcon from '@mui/icons-material/WarningRounded'; /** @@ -14,6 +15,7 @@ const FormLabelStartBase = (props: { title: React.ReactNode, description?: React.ReactNode, tooltip?: React.ReactNode, + tooltipWarning?: boolean, onClick?: (event: React.MouseEvent) => void, sx?: SxProps, }) => @@ -31,7 +33,10 @@ const FormLabelStartBase = (props: { > {props.title} {!!props.tooltip && ( - + {props.tooltipWarning + ? + : + } )}