"use client" import { useState } from "react" import { Card } from "../ui/card" import { Button } from "../ui/button" import { Input } from "../ui/input" import { Switch } from "../ui/switch" import { Label } from "../ui/label" import { ChevronLeft, ChevronRight, Plus, Minus } from "lucide-react" interface TaskSetupProps { onNext?: () => void onPrev?: () => void step: number } export function TaskSetup({ onNext, onPrev, step }: TaskSetupProps) { const [syncCount, setSyncCount] = useState(5) const [startTime, setStartTime] = useState("06:00") const [endTime, setEndTime] = useState("23:59") const [isEnabled, setIsEnabled] = useState(true) const [accountType, setAccountType] = useState("business") // business or personal return (

朋友圈同步任务

setStartTime(e.target.value)} className="w-32" /> setEndTime(e.target.value)} className="w-32" />
{syncCount} 条朋友圈
{step > 1 ? ( ) : (
)}
) }