Skip to content

Commit

Permalink
minor className fix etc
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed Jun 27, 2021
1 parent 39bae68 commit fe37dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/examples/Step5.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const HooksWithValidation = forwardRef(({jumpToStep}, ref) => {
{!valid && <><br /><br /><span className="red">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 <u>isValidated</u> method to instruct StepZilla to proceed to "Next". Use the button below to toggle it to TRUE.</span></>}
<br /><br />
<div className="btn btn-info" onClick={toggleValidState} style={{marginLeft: '0'}}>Toggle Validation State</div>
{uiError && <div class="val-err-tooltip" style={{marginTop: '1rem', display: 'table'}}>You need to use the the toggle button above to set validation state to TRUE to proceed</div>}
{uiError && <div className="val-err-tooltip" style={{marginTop: '1rem', display: 'table'}}>You need to use the the toggle button above to set validation state to TRUE to proceed</div>}
</div>
<div className="col-md-12 eg-jump-lnk">
<a href="#" onClick={() => jumpToStep(0)}>e.g. showing how we use the jumpToStep method helper method to jump back to step 1</a>
Expand Down

0 comments on commit fe37dec

Please sign in to comment.