/smartypay-client-react

React library for show a payment button

Primary LanguageTypeScriptMIT LicenseMIT

SMARTy Pay Client React

React library for show a payment button

Installation

npm i smartypay-client-react

Usage

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

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

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