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 35134e1 commit c732823Copy full SHA for c732823
src/types.ts
@@ -22,6 +22,12 @@ export type WizardValues = {
22
* @param stepIndex Overwrite the default behaviour by providing a step index
23
* */
24
previousStep: (stepIndex?: number) => void;
25
+ /**
26
+ * Go to the given step index
27
+ *
28
+ * @param stepIndex The step index, starts at 0
29
+ */
30
+ goToStep: (stepIndex: number) => void;
31
/**
32
* Attach a callback that will be called when calling `nextStep()`
33
*
0 commit comments