import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; export interface CodeApplicationState { stage: 'analyzing' | 'installing' | 'applying' | 'complete' | null; packages?: string[]; installedPackages?: string[]; filesGenerated?: string[]; message?: string; } interface CodeApplicationProgressProps { state: CodeApplicationState; } export default function CodeApplicationProgress({ state }: CodeApplicationProgressProps) { if (!state.stage || state.stage === 'complete') return null; return (
{/* Rotating loading indicator */} {/* Simple loading text */}
Applying to sandbox...
); }