import { Button } from "@/components/ui/button"; import { Progress } from "@/components/ui/progress"; import { StopCircle } from "lucide-react"; interface DownloadProgressProps { progress: number; currentTrack: { name: string; artists: string } | null; onStop: () => void; } export function DownloadProgress({ progress, currentTrack, onStop }: DownloadProgressProps) { return (
{progress}% -{" "} {currentTrack ? `${currentTrack.name} - ${currentTrack.artists}` : "Preparing download..."}