react-restyle-components 0.1.22 → 0.1.25

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 +4 -22
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -5,16 +5,14 @@ Easy use restyle components
5
5
  ## Installation
6
6
 
7
7
  ```
8
- npm i react-restyle-components
9
- or
10
- yarn add react-restyle-components
11
- yarn add -D @craco/craco craco-alias
12
- yarn add tailwindcss
8
+ yarn add react-restyle-components tailwindcss
9
+ yarn add -D @craco/craco craco-alias postcss autoprefixer
13
10
 
14
11
  ```
15
12
 
16
13
  ## Some changes required
17
14
 
15
+ ```
18
16
  tsconfig.json
19
17
  "compilerOptions": {
20
18
  ...
@@ -32,25 +30,9 @@ https://github.com/appasaheb4/react-restyle-components/blob/master/craco.config.
32
30
  https://github.com/appasaheb4/react-restyle-components/blob/master/postcss.config.js
33
31
  https://github.com/appasaheb4/react-restyle-components/blob/master/tailwind.config.js
34
32
 
35
- ##
36
-
37
- ```jsx
38
- import {Stepper} from 'react-restyle-components';
39
-
40
- <Stepper
41
- steps={['1', '2', '3']}
42
- currentStep={2}
43
- onStepClick={(currentStep: any, step: any) => {
44
- // eslint-disable-next-line no-console
45
- console.log({currentStep, step});
46
- }}
47
- className="mt-4"
48
- />;
49
33
  ```
50
34
 
51
- ### Outputs
52
-
53
- # Storybook
35
+ ### 📚 Storybook
54
36
 
55
37
  https://appasaheb4.github.io/react-restyle-components
56
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.22",
3
+ "version": "0.1.25",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "lib/cjs/index.js",
@@ -75,6 +75,7 @@
75
75
  "@storybook/addon-essentials": "^6.4.22",
76
76
  "@storybook/addon-interactions": "^6.4.22",
77
77
  "@storybook/addon-links": "^6.4.22",
78
+ "@storybook/addon-storysource": "^6.4.22",
78
79
  "@storybook/builder-webpack5": "^6.4.22",
79
80
  "@storybook/manager-webpack5": "^6.4.22",
80
81
  "@storybook/node-logger": "^6.4.22",