I have those 2 components
FormComponent
const FormComponent = (props) => { //keep the current step in the component state const [currentStep, setCurrent