From fe37dec2309126a32c762c88de2898e8d892779e Mon Sep 17 00:00:00 2001 From: Mark Paul Date: Sun, 27 Jun 2021 20:44:10 +1000 Subject: [PATCH] minor className fix etc --- README.md | 2 +- src/examples/Step5.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b00b97..6b20653 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ something like this of course: Full example usage code is available in the `src/examples` directory. Have a look at a [live working version here](https://newbreedofgeek.github.io/react-stepzilla/) -## get started (how to use in your apps) +## get started (how to use it in your apps) - run ``` npm install --save react-stepzilla diff --git a/src/examples/Step5.js b/src/examples/Step5.js index 6ecf35e..83d2cfe 100644 --- a/src/examples/Step5.js +++ b/src/examples/Step5.js @@ -41,7 +41,7 @@ const HooksWithValidation = forwardRef(({jumpToStep}, ref) => { {!valid && <>

If you want to move to the "Next" step you need change the validation state to TRUE. This demonstrates how a modern Hooks based React component can use the isValidated method to instruct StepZilla to proceed to "Next". Use the button below to toggle it to TRUE.}

Toggle Validation State
- {uiError &&
You need to use the the toggle button above to set validation state to TRUE to proceed
} + {uiError &&
You need to use the the toggle button above to set validation state to TRUE to proceed
}
jumpToStep(0)}>e.g. showing how we use the jumpToStep method helper method to jump back to step 1