diff --git a/src/design-system/components/tooltip/Tooltip.tsx b/src/design-system/components/tooltip/Tooltip.tsx index 06fdaaa5d..8ccaecdcc 100644 --- a/src/design-system/components/tooltip/Tooltip.tsx +++ b/src/design-system/components/tooltip/Tooltip.tsx @@ -9,13 +9,15 @@ type TooltipProps = { title: string description?: string position: 'up' | 'down' | 'right' | 'left' | 'none' + icon?: React.ReactNode } const ToolTip: React.FC = ({ variant, title, description, - position + position, + icon }) => { const textContent = ( @@ -24,7 +26,9 @@ const ToolTip: React.FC = ({ ) - const iconContent = + const iconContent = ( + {icon || } + ) return (