Skip to content

PreviousButton

Demo

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