diff --git a/client/src/Components/design-elements/Tooltip.tsx b/client/src/Components/design-elements/Tooltip.tsx index f9bbbb92b..36ba84f48 100644 --- a/client/src/Components/design-elements/Tooltip.tsx +++ b/client/src/Components/design-elements/Tooltip.tsx @@ -6,7 +6,11 @@ import type { TooltipProps } from "@mui/material/Tooltip"; type StyledTooltipProps = TooltipProps; -export const Tooltip = ({ placement = "top", ...props }: StyledTooltipProps) => { +export const Tooltip = ({ + placement = "top", + slotProps, + ...props +}: StyledTooltipProps) => { const theme = useTheme(); return ( @@ -27,6 +31,7 @@ export const Tooltip = ({ placement = "top", ...props }: StyledTooltipProps) => boxShadow: theme.shadows[6], }, }, + ...slotProps, }} > {props.children}