import React from 'react'; import { AnimatePresence, motion } from 'framer-motion'; import { RadioChecked, Radio, CircleWarning } from '../icons'; import { cn } from '@/lib/classMerge'; const animationConfig = { initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.2 } }; export const StatusIndicator: React.FC<{ status?: 'completed' | 'loading' | 'failed' }> = React.memo(({ status }) => { const inProgress = status === 'loading'; const failed = status === 'failed'; return (