Skip to content

Description

StepsLayout.Buttons Is a composition for a row containing both PreviousButton and NextButton.

Demo

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