Skip to content

PreviousButton

Demo

<StepsContext.Provider
value={{
activeIndex: 5,
handlePrevious: () => console.log('handlePrevious'),
handleNext: () => null,
}}
>
<StepsLayout.PreviousButton />
</StepsContext.Provider>