import * as RadixTooltip from "@radix-ui/react-tooltip"; import { motion } from "motion/react"; import { memo, type ReactNode } from "react"; interface TooltipProps { children: ReactNode; className?: string; content: ReactNode; placement?: "bottom" | "left" | "right" | "top"; withDelay?: boolean; } const Tooltip = ({ children, className = "", content, placement = "right", withDelay = false }: TooltipProps) => { return ( {children} {content} ); }; export default memo(Tooltip);