import { ComponentProps, ReactNode } from 'react'; import TooltipPrimitive from '../primitives/TooltipPrimitive'; import OGLoaderImage from './OGLoaderImage'; import { IMAGE_OG_DIMENSION } from '@/image-response'; import clsx from 'clsx/lite'; export default function OGTooltip({ children, caption, ...props }: { children :ReactNode caption?: ReactNode } & ComponentProps) { const { aspectRatio } = IMAGE_OG_DIMENSION; return ( {caption &&
{caption}
} } > {children}
); }