import type { Progress } from '../types'; import { formatCount, formatSize } from '../format'; interface ProgressBarProps { progress: Progress; useSIPrefix: boolean; } export function ProgressBar({ progress, useSIPrefix }: ProgressBarProps) { return (

Scanning…

{formatCount(progress.itemCount)} items {formatSize(progress.totalUsage, useSIPrefix)}
{progress.currentItem}
); }