Skip to content

Buttons

Description

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

Demo

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

Properties

No properties