import * as Icons from 'lucide-react' import { StepWithTooltip } from './StepWithTooltip' import { CircularProgress } from '@/components/CircularProgress' import { DialogHeader, DialogTitle } from '@/components/ui/dialog' export function WizardHeader({ title, Wizard, methods, }: { title: string Wizard: any methods: any }) { const currentIndex = Wizard.utils.getIndex(methods.current.id) + 1 const totalSteps = Wizard.steps.length const nextStep = Wizard.steps[currentIndex] return (
Siguiente: {nextStep.title}
) : (¡Último paso!
)}