MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / TooltipComplete

Function TooltipComplete

apps/start/src/components/tooltip-complete.tsx:12–34  ·  view source on GitHub ↗
({
  children,
  disabled,
  content,
  side,
  delay,
}: TooltipCompleteProps)

Source from the content-addressed store, hash-verified

10}
11
12export function TooltipComplete({
13 children,
14 disabled,
15 content,
16 side,
17 delay,
18}: TooltipCompleteProps) {
19 return (
20 <Tooltip delayDuration={delay}>
21 <TooltipTrigger
22 className="appearance-none"
23 style={{ textAlign: 'inherit' }}
24 >
25 {children}
26 </TooltipTrigger>
27 <TooltipPortal>
28 <TooltipContent side={side} disabled={disabled}>
29 {content}
30 </TooltipContent>
31 </TooltipPortal>
32 </Tooltip>
33 );
34}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected