File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,12 @@ export type WizardProps = {
1212export type WizardValues = {
1313 /**
1414 * Go to the next step
15- *
16- * @param stepIndex Overwrite the default behaviour by providing a step index
1715 */
18- nextStep : ( stepIndex ?: number ) => Promise < void > ;
16+ nextStep : ( ) => Promise < void > ;
1917 /**
2018 * Go to the previous step
21- *
22- * @param stepIndex Overwrite the default behaviour by providing a step index
23- * */
24- previousStep : ( stepIndex ?: number ) => void ;
19+ */
20+ previousStep : ( ) => void ;
2521 /**
2622 * Go to the given step index
2723 *
@@ -32,7 +28,6 @@ export type WizardValues = {
3228 * Attach a callback that will be called when calling `nextStep()`
3329 *
3430 * @param handler Can be either sync or async
35- *
3631 */
3732 handleStep : ( handler : Handler ) => void ;
3833 /**
You can’t perform that action at this time.
0 commit comments