Skip to content

Demo

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