react-nomba-checkout-sdk 1.0.0 β†’ 1.0.1

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 +35 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # React Nomba Checkout SDK
2
+
3
+ The `react-nomba-checkout-sdk` is a lightweight JavaScript library designed to simplify payment processing and checkout experiences in your react web applications.
4
+
5
+ ## πŸš€ Getting Started
6
+
7
+ To install the SDK, use npm or yarn:
8
+
9
+ ```bash
10
+ npm install react-nomba-checkout-sdk
11
+ # or
12
+ yarn add react-nomba-checkout-sdk
13
+
14
+ ## Usage
15
+
16
+ Here’s how to integrate the SDK into your project:
17
+
18
+ ```
19
+
20
+ ## πŸ“– Usage
21
+
22
+ ```bash
23
+ import { NombaCheckoutButton } from "react-nomba-checkout-sdk";
24
+
25
+ const CheckoutPage = ({orderId}) => {
26
+ return (
27
+ <div>
28
+ <NombaCheckoutButton orderId={orderId} onClose = {onClose}/>
29
+ </div>
30
+ );
31
+ }
32
+
33
+ export default CheckoutPage;
34
+
35
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-nomba-checkout-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",