const onChangeType = (type: string) => { setType(type); nextStep(currentStep); } let steps: Step[] = [ { id: 1, title: \'Tipo