import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { X, Clock, Sparkles, Zap } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { cn } from '@/lib/utils'; interface QueuedPrompt { id: string; prompt: string; model: "sonnet" | "opus"; } interface PromptQueueProps { queuedPrompts: QueuedPrompt[]; onRemove: (id: string) => void; className?: string; } export const PromptQueue: React.FC = React.memo(({ queuedPrompts, onRemove, className }) => { if (queuedPrompts.length === 0) return null; return (
Queued Prompts {queuedPrompts.length}
{queuedPrompts.map((queuedPrompt, index) => (
{queuedPrompt.model === "opus" ? ( ) : ( )}

{queuedPrompt.prompt}

{queuedPrompt.model === "opus" ? "Opus" : "Sonnet"}
))}
); });