interface StepIndicatorProps {
currentStep: 1 | 2 | 3;
onStepClick?: (step: 1 | 2 | 3) => void;
}
const steps = [
{ num: 1 as const, label: "上傳資料", icon: "📁" },
{ num: 2 as const, label: "編輯提示詞", icon: "✏️" },
{ num: 3 as const, label: "檢視報告", icon: "📊" },
];
export function StepIndicator({ currentStep, onStepClick }: StepIndicatorProps) {
return (
{steps.map((step, idx) => (
{idx < steps.length - 1 && (
)}
))}
);
}