@bigbinary/neeto-payments-frontend 1.0.2 → 1.0.4
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/README.md +7 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +13 -1
package/README.md
CHANGED
|
@@ -47,6 +47,8 @@ neeto-payments-frontend exports:
|
|
|
47
47
|
for columns with filter type as `single_option` or `multi_option`. Its value
|
|
48
48
|
is `false` by default.
|
|
49
49
|
|
|
50
|
+
5. **tabs**: To specify the tabs to be displayed in the payments dashboard. It is an optional parameter.
|
|
51
|
+
|
|
50
52
|
**More about `payableEntityColumns`**
|
|
51
53
|
|
|
52
54
|
Here is an example of `payableEntityColumns` prop:
|
|
@@ -140,6 +142,11 @@ An example of desired response from the endpoint is:
|
|
|
140
142
|
> :memo: **Note:** For the above method to work, the keys inside the
|
|
141
143
|
> `filterOptions` object must match the `key` property in `payableEntityColumns`
|
|
142
144
|
|
|
145
|
+
**More about `tabs` prop**
|
|
146
|
+
|
|
147
|
+
`tabs` is an array of strings. It has default value as this: `["all", "successful", "pending", "declined", "refunded"]`.It should only be a subset of the array above. Preferably it shouldn't be an empty array.
|
|
148
|
+
|
|
149
|
+
|
|
143
150
|
### 2. `buildStripeTransactionLink` function
|
|
144
151
|
|
|
145
152
|
This function is used to generate the stripe transaction link from a payment
|