pbginstallmentsdk
v2.0.18
Published
pbg installment
Downloads
1
Readme
Rebank Installment Calculator
Installation
npm i pbginstallmentsdk
OR
yarn add pbginstallmentsdk
Usage
import { Calc } from 'pbginstallmentsdk';
in your react application
// term = choosed month
const callback = (term: number) => {
console.log(term)
// make your actions here, [ call api or redirect somewhere ]
}
....
<Calc amount={'PRODUCT_AMOUNT'} metchantId='YOUR_ID' callback={callback} />
Tech
- Vite
- React