import type { NewSubjectWizardState, TipoAsignatura, } from '@/features/asignaturas/nueva/types' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/components/ui/select' import { ESTRUCTURAS_SEP, TIPOS_MATERIA, } from '@/features/asignaturas/nueva/catalogs' export function PasoBasicosForm({ wizard, onChange, }: { wizard: NewSubjectWizardState onChange: React.Dispatch> }) { return (
onChange((w) => ({ ...w, datosBasicos: { ...w.datosBasicos, nombre: e.target.value }, })) } />
onChange((w) => ({ ...w, datosBasicos: { ...w.datosBasicos, clave: e.target.value }, })) } />
onChange((w) => ({ ...w, datosBasicos: { ...w.datosBasicos, creditos: Number(e.target.value || 0), }, })) } />
onChange((w) => ({ ...w, datosBasicos: { ...w.datosBasicos, horasSemana: Number(e.target.value || 0), }, })) } />

Define los campos requeridos (ej. Objetivos, Temario, Evaluación).

) }