MCPcopy Create free account
hub / github.com/better-auth/examples / Tooltip

Function Tooltip

astro-example/src/components/ui/tooltip.tsx:12–16  ·  view source on GitHub ↗
(props: TooltipRootProps)

Source from the content-addressed store, hash-verified

10export const TooltipTrigger = TooltipPrimitive.Trigger;
11
12export const Tooltip = (props: TooltipRootProps) => {
13 const merge = mergeProps<TooltipRootProps[]>({ gutter: 4 }, props);
14
15 return <TooltipPrimitive {...merge} />;
16};
17
18type tooltipContentProps<T extends ValidComponent = "div"> =
19 TooltipContentProps<T> & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected