diff --git a/src/components/Tooltip/index.tsx b/src/components/Tooltip/index.tsx index 8f52f1cdd4..ec1350bac0 100644 --- a/src/components/Tooltip/index.tsx +++ b/src/components/Tooltip/index.tsx @@ -131,7 +131,13 @@ export function Target({ }) } -export function Content({children}: {children: React.ReactNode}) { +export function Content({ + children, + label, +}: { + children: React.ReactNode + label: string +}) { const {position, ready, onVisibleChange} = useContext(TooltipContext) const {targetMeasurements} = useContext(TargetContext) const requestClose = useCallback(() => { @@ -143,6 +149,7 @@ export function Content({children}: {children: React.ReactNode}) { return ( void targetMeasurements: Exclude< @@ -284,6 +293,14 @@ function Bubble({ return (