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({ currentIndex, totalSteps, currentTitle, currentDescription, nextTitle, onClose, Wizard, }: { currentIndex: number totalSteps: number currentTitle: string currentDescription: string nextTitle?: string onClose: () => void Wizard: any }) { return (
Nuevo plan de estudios

{nextTitle ? (

Siguiente: {nextTitle}

) : (

¡Último paso!

)}
{Wizard.steps.map((step: any) => ( ))}
) }