Skip to content

Demo

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