import React from 'react'; import { X, CheckCircle, AlertCircle, Loader2, Download } from 'lucide-react'; import type { ImageFile } from '../types'; import { formatFileSize } from '../utils/imageProcessing'; import { downloadImage } from '../utils/download'; interface ImageListProps { images: ImageFile[]; onRemove: (id: string) => void; } export function ImageList({ images, onRemove }: ImageListProps) { if (images.length === 0) return null; return (
{image.file.name}