react-wizard-primitive
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -30,2 +30,3 @@ import React from "react"; | ||
moveToStep: () => void; | ||
goToStep: (index: number) => void; | ||
} | ||
@@ -32,0 +33,0 @@ export declare type OnChangeHandler = (props: { |
@@ -54,2 +54,3 @@ import React from 'react'; | ||
moveToStep: () => goToStep(stepIndex), | ||
goToStep: (index) => goToStep(index) | ||
}; | ||
@@ -56,0 +57,0 @@ stepCheckIndex++; |
@@ -60,2 +60,3 @@ 'use strict'; | ||
moveToStep: () => goToStep(stepIndex), | ||
goToStep: (index) => goToStep(index) | ||
}; | ||
@@ -62,0 +63,0 @@ stepCheckIndex++; |
{ | ||
"name": "react-wizard-primitive", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "A react wizard primitive without UI restrictions - hooks and render props API available!", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -266,2 +266,4 @@ <div style="text-align:center;"> | ||
> Set this step to be currently active. All following steps will keep the activated state. | ||
- _goToStep_ `function(index:number)` | ||
> Go to the step with the given index | ||
@@ -268,0 +270,0 @@ ### `useWizard` |
35111
332
496