"use client" import { Check } from "lucide-react" interface StepProps { currentStep: number } export function StepIndicator({ currentStep }: StepProps) { const steps = [ { title: "基础设置", description: "设置点赞规则" }, { title: "设备选择", description: "选择执行设备" }, { title: "人群选择", description: "选择目标人群" }, ] return (
{steps.map((step, index) => (
{index < currentStep ? : index + 1}
{step.title}
{step.description}
))}
) }