New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kwentapay/web-client-react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kwentapay/web-client-react

Include Kwenta payments in your React web app

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@kwentapay/web-client-react

A React component library to integrate the Kwenta GUI directly into your web application.

Installation

Package managerCommand
NPMnpm install @kwentapay/web-client-react
Yarnyarn add @kwentapay/web-client-react
PNPMpnpm install @kwentapay/web-client-react

Example

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;

See also

License

This project is licensed under the MIT License.

FAQs

Package last updated on 26 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts