We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e8652 commit e717706Copy full SHA for e717706
playground/modules/wizard/simple/index.tsx
@@ -7,7 +7,10 @@ import Section from '../../common/section';
7
const SimpleSection: React.FC = () => {
8
return (
9
<Section title="Simple wizard" description="mix of async and sync steps">
10
- <Wizard footer={<Footer />}>
+ <Wizard
11
+ footer={<Footer />}
12
+ onStepChange={(stepIndex) => alert(`New step index is ${stepIndex}`)}
13
+ >
14
<AsyncStep number={1} />
15
<Step number={2} />
16
<AsyncStep number={3} />
0 commit comments