Multi Stepper

React.cloneElement(stepperComponents[currentStep], {(onPrev, onNext)}) helps to pass props to a JSX array element.

1
2
3
4

Example 1