({
children,
content,
...props
}: {
children: React.ReactNode;
content?: React.ReactNode;
})
| 7 | } from "@/components/ui/tooltip"; |
| 8 | |
| 9 | export function Tooltip({ |
| 10 | children, |
| 11 | content, |
| 12 | ...props |
| 13 | }: { |
| 14 | children: React.ReactNode; |
| 15 | content?: React.ReactNode; |
| 16 | }) { |
| 17 | return ( |
| 18 | <TooltipPrimitive delayDuration={500} {...props}> |
| 19 | <TooltipTrigger asChild>{children}</TooltipTrigger> |
| 20 | <TooltipContent>{content}</TooltipContent> |
| 21 | </TooltipPrimitive> |
| 22 | ); |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected