import { AnimatePresence, motion } from 'framer-motion'; import { ReactNode } from 'react'; interface ContentTransitionProps { /** Whether content is still loading */ isLoading: boolean; /** The skeleton/loading placeholder */ skeleton: ReactNode; /** The actual content */ children: ReactNode; /** Optional className for the wrapper */ className?: string; } export function ContentTransition({ isLoading, skeleton, children, className }: ContentTransitionProps) { return (