@akinon/pz-click-collect 1.42.0 → 1.43.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/README.md +4 -22
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
@@ -1,31 +1,13 @@
|
|
1
|
-
# pz-click-collect
|
1
|
+
# @akinon/pz-click-collect
|
2
2
|
|
3
3
|
### Install the npm package
|
4
4
|
|
5
5
|
```bash
|
6
6
|
# For latest version
|
7
|
-
yarn add
|
7
|
+
yarn add @akinon/pz-click-collect
|
8
8
|
|
9
|
-
#
|
10
|
-
|
11
|
-
```
|
12
|
-
|
13
|
-
### Next Config Configuration
|
14
|
-
|
15
|
-
##### next.config.js**
|
16
|
-
|
17
|
-
```javascript
|
18
|
-
const withTM = require("next-transpile-modules")(["pz-click-collect"]);
|
19
|
-
```
|
20
|
-
|
21
|
-
### Example Usage
|
22
|
-
##### File Path: src/views/checkout/steps/shipping/addresses.tsx
|
23
|
-
|
24
|
-
|
25
|
-
```javascript
|
26
|
-
import ClickCollect from 'pz-click-collect';
|
27
|
-
|
28
|
-
<ClickCollect addressTypeParam={addressType.requestParam}/>
|
9
|
+
# Preferred installation method
|
10
|
+
npx @akinon/projectzero@latest --plugins
|
29
11
|
```
|
30
12
|
|
31
13
|
### Props
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@akinon/pz-click-collect",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.43.0-rc.0",
|
4
4
|
"main": "./src/index.tsx",
|
5
5
|
"module": "./src/index.tsx",
|
6
6
|
"license": "MIT",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
"typescript": "^4.7.4"
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"react": "^
|
16
|
-
"react-dom": "^
|
15
|
+
"react": "^18.0.0",
|
16
|
+
"react-dom": "^18.0.0"
|
17
17
|
}
|
18
18
|
}
|