MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / TooltipProvider

Function TooltipProvider

packages/react/src/components/tooltip.tsx:6–17  ·  view source on GitHub ↗
({
  delayDuration = 0,
  ...props
}: React.ComponentProps<typeof TooltipPrimitive.Provider>)

Source from the content-addressed store, hash-verified

4import { cn } from "../lib/utils";
5
6function TooltipProvider({
7 delayDuration = 0,
8 ...props
9}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {
10 return (
11 <TooltipPrimitive.Provider
12 data-slot="tooltip-provider"
13 delayDuration={delayDuration}
14 {...props}
15 />
16 );
17}
18
19function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>) {
20 return <TooltipPrimitive.Root data-slot="tooltip" {...props} />;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected