import * as React from "react"; import { cn } from "@/lib/utils"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip"; import { Info } from "lucide-react"; interface TooltipInfoProps extends React.HTMLAttributes { content: string; children?: React.ReactNode; side?: "top" | "right" | "bottom" | "left"; } export function TooltipInfo({ content, children, side = "top", className, ...props }: TooltipInfoProps) { return ( {children || ( )} {content} ); }