@akinon/pz-bkm 1.51.0 → 1.52.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/package.json +1 -1
- package/readme.md +16 -13
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -1,32 +1,35 @@
|
|
1
|
-
# pz-bkm
|
1
|
+
# @akinon/pz-bkm
|
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-bkm
|
8
8
|
|
9
|
-
#
|
10
|
-
|
9
|
+
# Preferred installation method
|
10
|
+
npx @akinon/projectzero@latest --plugins
|
11
11
|
```
|
12
12
|
|
13
13
|
### Example Usage
|
14
14
|
##### File Path: src/views/checkout/steps/payment/options/bkm.tsx
|
15
15
|
|
16
16
|
```javascript
|
17
|
-
|
18
|
-
|
19
|
-
export default function BKM() {
|
17
|
+
const Bkm = () => {
|
20
18
|
return (
|
21
|
-
<
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
19
|
+
<PluginModule
|
20
|
+
component={Component.BKMExpress}
|
21
|
+
props={{
|
22
|
+
translations: {
|
23
|
+
title: 'Pay with BKM Express',
|
24
|
+
description: `When paying with BKM Express, you will be redirected to www.bkmexpress.com.tr.`,
|
25
|
+
button: 'Pay Now'
|
26
|
+
}
|
26
27
|
}}
|
27
28
|
/>
|
28
29
|
);
|
29
|
-
}
|
30
|
+
};
|
31
|
+
|
32
|
+
export default Bkm;
|
30
33
|
```
|
31
34
|
|
32
35
|
### Props
|