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 cd44e18 commit fe7d1caCopy full SHA for fe7d1ca
README.md
@@ -49,6 +49,20 @@ onMovePrevious={(data)=>{console.log(data)}}
49
//onSubmit is optional, only implement it whever you need to use it
50
onSubmit={()=>{console.log('Submiting')}}
51
/>
52
+//Implementation with config object
53
+<MultiSteps
54
+//Move to the next item
55
+onMoveNext={(data)=>{console.log(data) }}
56
+//Move to the previous item
57
+onMovePrevious={(data)=>{console.log(data)}}
58
+//onSubmit is optional, only implement it whever you need to use it
59
+onSubmit={()=>{console.log('Submiting')}}
60
+config ={{
61
+ nextButtonLabel: 'Next Section',
62
+ previousButtonLabel: 'Previous Section',
63
+ submitButtonLabel: 'Done'
64
+}}
65
+/>
66
```
67
# Example
68
```js
0 commit comments