import React from 'react'; import { CardHeader, CardTitle, CardDescription } from '@/Components/ui/card'; import { Button } from '@/Components/ui/button'; import { Input } from '@/Components/ui/input'; import { Label } from '@/Components/ui/label'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/Components/ui/select'; import { Plus, Trash2, ChevronLeft, ChevronRight } from 'lucide-react'; interface Step2TasksProps { localMilestones: any[]; localTasks: any[]; prepopulateMilestones: boolean; setPrepopulateMilestones: (v: boolean) => void; addMilestone: () => void; removeMilestone: (idx: number) => void; updateMilestone: (idx: number, field: string, val: string) => void; addTask: () => void; removeTask: (idx: number) => void; updateTask: (idx: number, field: string, val: string) => void; handleBack: () => void; handleSaveTasks: () => void; } export default function Step2Tasks({ localMilestones, localTasks, prepopulateMilestones, setPrepopulateMilestones, addMilestone, removeMilestone, updateMilestone, addTask, removeTask, updateTask, handleBack, handleSaveTasks }: Step2TasksProps) { return (
No milestones defined yet. Toggle pre-populate defaults or add custom ones.
) : (No tasks defined yet. Add tasks and link them to milestones.
) : (