Skip to content

Commit 4f92bf4

Browse files
Kangcorkamranahmedse
authored andcommitted
Fix typo in readme (#148)
1 parent 4ea90b1 commit 4f92bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const driver = new Driver({
258258
onDeselected: (Element) => {}, // Called when element has been deselected
259259
onReset: (Element) => {}, // Called when overlay is about to be cleared
260260
onNext: (Element) => {}, // Called when moving to next step on any step
261-
onPrevious: (Element) => {}, // Called when moving to next step on any step
261+
onPrevious: (Element) => {}, // Called when moving to previous step on any step
262262
});
263263
```
264264
Note that all the button options that you provide in the driver definition can be overridden for a specific step by giving them in the step definition
@@ -282,7 +282,7 @@ const stepDefinition = {
282282
   prevBtnText: 'Previous', // Previous button text
283283
},
284284
onNext: () => {}, // Called when moving to next step from current step
285-
onPrevious: () => {}, // Called when moving to next step from current step
285+
onPrevious: () => {}, // Called when moving to previous step from current step
286286
};
287287
```
288288

0 commit comments

Comments
 (0)