1.0.21 • Published 1 year ago

smartypay-client-react v1.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SMARTy Pay Client React

React library for show a payment button

Demo

Online demo

Installation

npm i smartypay-client-react

Donation button

Button img

import {SmartyPayDonation} from 'smartypay-client-react';

<SmartyPayDonation
  donationId="some"
  theme="dark"
  lang="en"
/>

Payment Button

Button img

import {SmartyPayButton} from 'smartypay-client-react';

<SmartyPayButton
  amount="1.99" 
  token="bUSDT"
  lang="en"
  theme="dark"
  apiKey="YOUR_API_KEY"
/>

Recharge Payment button

Button img

import {SmartyPayRechargePayment} from 'smartypay-client-react';

<SmartyPayRechargePayment
  address="CLIENT_RECHARGE_PAYMENT_ADDRESS"
  theme="dark"
  lang="en"
/>
  • address - recharge payment address for client (see docs)
  • lang - en by default (also has es, ru)
  • theme - light (default) or dark

Example React Project

See files

Build steps

Clone repository into your dir

cd your_dir
git clone https://github.com/smarty-pay/smartypay-client-react

Build

npm install
npm run build
1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago