A React component library to integrate the Kwenta GUI directly into your web application.
Package manager | Command |
---|---|
NPM | npm install @kwentapay/web-client-react |
Yarn | yarn add @kwentapay/web-client-react |
PNPM | pnpm install @kwentapay/web-client-react |
import { Kwenta } from "@kwentapay/web-client-react";
const transactionUrl =
"https://api.kwenta.st/o/4e83556f-a105-496e-8457-cea37d5bc173";
const App = () => (
<Kwenta
url={transactionUrl}
onPayerPrepaid={() => alert("Current payer has prepaid successfully")}
onPayersInvited={() => alert("Current payer has invited the other payers")}
/>
);
export default App;
This project is licensed under the MIT License.