Skip to content

Commit

Permalink
Merge pull request #2 from sametweb/v2
Browse files Browse the repository at this point in the history
last update
  • Loading branch information
sametweb authored Aug 21, 2020
2 parents 606a327 + 57d44a2 commit 93c1af3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Overview

React Step Builder allows you to combine states of multiple components in one place
and navigate between components without losing the state from other step components.
and navigate between step components without losing the state from other step components.

It only provides wrapper components and methods to be able to render your step components
without being forced to use certain UI features in your step structure.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-step-builder",
"description": "Unopinionated multi step interface builder.",
"author": "Samet Mutevelli <[email protected]> (https://sametmutevelli.com)",
"version": "1.1.5",
"version": "1.1.6",
"private": false,
"devDependencies": {
"react": "^16.12.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Step1 = (props) => {
{props.step.hasPrev() && <button onClick={props.prev}>Previous</button>}
{props.step.hasNext() && <button onClick={props.next}>Next</button>}
<button onClick={() => props.jump(3)}>Jump to 3. Step</button>
<button onClick={() => props.jump(5)}>Jump to 5. Step</button>
</div>
);
};
Expand Down

0 comments on commit 93c1af3

Please sign in to comment.