/** * ProgressStats Component * * Displays three stat cards: stitches (current/total), time (elapsed/total), and speed */ interface ProgressStatsProps { currentStitch: number; totalStitches: number; elapsedMinutes: number; totalMinutes: number; speed: number; } export function ProgressStats({ currentStitch, totalStitches, elapsedMinutes, totalMinutes, speed, }: ProgressStatsProps) { return (
Stitches {currentStitch.toLocaleString()} / {totalStitches.toLocaleString()}
Time {elapsedMinutes} / {totalMinutes} min
Speed {speed} spm
); }