import type { TooltipContentProps, TooltipProps, TooltipTriggerProps, } from "@radix-ui/react-tooltip"; import { Arrow, Content, Provider, Root, Trigger, } from "@radix-ui/react-tooltip"; import { forwardRef } from "react"; import { cn } from "~/lib/cn"; export let TooltipProvider = Provider; export let Tooltip = ({ delayDuration = 100, ...rest }: TooltipProps) => ( ); export let TooltipTrigger = ({ asChild = true, ...rest }: TooltipTriggerProps) => ; export let TooltipContent = forwardRef( ({ children, className, sideOffset = 4, ...rest }, ref) => { return ( {children} ); }, );