MCPcopy Create free account
hub / github.com/MagicCube/agentara / Tooltip

Function Tooltip

web/src/components/tooltip.tsx:9–23  ·  view source on GitHub ↗
({
  children,
  content,
  ...props
}: {
  children: React.ReactNode;
  content?: React.ReactNode;
})

Source from the content-addressed store, hash-verified

7} from "@/components/ui/tooltip";
8
9export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected