import { Ban, Check, Loader2, Square, XCircle } from 'lucide-react' import { backgroundTaskStatusColor, type BackgroundTaskLifecycle } from '@/lib/backgroundWork' export function BackgroundTaskStatusIcon({ status, className }: { status: BackgroundTaskLifecycle; className: string }) { const iconClassName = `${className} ${backgroundTaskStatusColor(status)}` if (status === 'completed') return if (status === 'failed') return if (status === 'interrupted') return if (status === 'killed') return if (status === 'unavailable') return return }