react-restyle-components 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,6 +14,16 @@ yarn add react-restyle-components
14
14
 
15
15
  ```jsx
16
16
  import {Stepper} from 'react-restyle-components';
17
+
18
+ <Stepper
19
+ steps={['1', '2', '3']}
20
+ currentStep={2}
21
+ onStepClick={(currentStep, step) => {
22
+ // eslint-disable-next-line no-console
23
+ console.log({currentStep, step});
24
+ }}
25
+ className="mt-4"
26
+ />;
17
27
  ```
18
28
 
19
29
  ### Outputs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "types": "lib/index.d.ts",