| 2 | import { formatBytes, formatSpeed, formatETA } from '../lib/utils'; |
| 3 | |
| 4 | interface DownloadQueueProps { |
| 5 | downloads: Map<string, HfDownloadProgress>; |
| 6 | onPause: (modelName: string) => void; |
| 7 | onResume: (modelName: string) => void; |
| 8 | onCancel: (modelName: string) => void; |
| 9 | } |
| 10 | |
| 11 | export function DownloadQueue({ downloads, onPause, onResume, onCancel }: DownloadQueueProps) { |
| 12 | const downloadArray = Array.from(downloads.values()); |
nothing calls this directly
no outgoing calls
no test coverage detected