@akinon/pz-saved-card 2.0.0-beta.6 → 2.0.0-beta.8
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.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/readme.md +12 -24
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2,19 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
### 1. Install the npm package using Yarn
|
|
8
|
-
|
|
9
|
-
For the latest version, you can install the package using Yarn:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
yarn add @akinon/pz-saved-card
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### 2. Preferred installation method
|
|
16
|
-
|
|
17
|
-
You can also use the following command to install the extension with the latest plugins:
|
|
5
|
+
You can use the following command to install the extension with the latest plugins:
|
|
18
6
|
|
|
19
7
|
```bash
|
|
20
8
|
npx @akinon/projectzero@latest --plugins
|
|
@@ -28,17 +16,17 @@ npx @akinon/projectzero@latest --plugins
|
|
|
28
16
|
import PluginModule, { Component } from '@akinon/next/components/plugin-module';
|
|
29
17
|
|
|
30
18
|
const SavedCard = () => {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
19
|
+
return (
|
|
20
|
+
<PluginModule
|
|
21
|
+
component={Component.SavedCard}
|
|
22
|
+
props={{
|
|
23
|
+
texts: {
|
|
24
|
+
title: 'Pay with Saved Card',
|
|
25
|
+
button: 'Pay Now'
|
|
26
|
+
}
|
|
27
|
+
}}
|
|
28
|
+
/>
|
|
29
|
+
);
|
|
42
30
|
};
|
|
43
31
|
|
|
44
32
|
export default SavedCard;
|