Description
StepsLayout.NextButton
connects to the StepsContext
to move the user to the next step when clicked.
Demo
Code Editor
<StepsContext.Provider value={{ activeIndex: 0, handlePrevious: () => null, handleNext: () => console.log('handleNext'), }} > <StepsLayout.NextButton /> </StepsContext.Provider>