"use client" interface Step { id: number title: string subtitle: string } interface StepIndicatorProps { currentStep: number steps?: Step[] } export function StepIndicator({ currentStep, steps = [ { id: 1, title: "步骤 1", subtitle: "基础设置" }, { id: 2, title: "步骤 2", subtitle: "设备选择" }, { id: 3, title: "步骤 3", subtitle: "选择内容库" }, ], }: StepIndicatorProps) { return (