import React from 'react' interface ProgressBarProps { current: number total: number correct: number incorrect: number skipped: number className?: string } export const ProgressBar: React.FC = ({ current, total, correct, incorrect, skipped, className = '' }) => { const percentage = total > 0 ? Math.round((current / total) * 100) : 0 const completed = correct + incorrect + skipped return (

複習進度

{current + 1} / {total}
{/* 進度條 */}
{/* 統計信息 */}
{correct}
正確
{incorrect}
錯誤
{skipped}
跳過
{total - completed}
待完成
{/* 百分比顯示 */}
{percentage}% 已完成
) }