'use client'; import * as React from 'react'; import { Tooltip as TooltipPrimitive } from 'radix-ui'; import { cn } from '@/lib/utils'; export type TooltipProps = React.ComponentProps; export type TooltipContentProps = React.ComponentProps; /** * Short hint shown on hover or keyboard focus. * * Never put essential information or interactive content in a tooltip — it is * unreachable on touch devices. Icon-only buttons still need their own * `aria-label`; the tooltip is not a substitute for one. */ function TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps) { return ( ); } function Tooltip(props: TooltipProps) { return ; } function TooltipTrigger(props: React.ComponentProps) { return ; } function TooltipContent({ className, sideOffset = 4, children, ...props }: TooltipContentProps) { return ( {children} ); } export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };