import * as TooltipPrimitive from "@radix-ui/react-tooltip"; import { ReactNode } from "react"; interface TooltipProps { children: ReactNode; content: ReactNode; side?: "top" | "right" | "bottom" | "left"; align?: "start" | "center" | "end"; } export function Tooltip({ children, content, delayDuration = 200, side = "top", align = "center", width, }: { children: ReactNode; content: ReactNode; delayDuration?: number; side?: "top" | "right" | "bottom" | "left"; align?: "start" | "center" | "end"; width?: string; }) { return ( {children} {content} ); }