forage-sdk
v0.1.6
Published
> Send your EBT Card Number!
Downloads
5
Readme
forage-sdk
Send your EBT Card Number!
You can use this SDK in your webapp or website.
Install
$ npm install forage-sdk
Usage
Just import and use it
import { useState } from 'react'
import { ForageSDK } from 'forage-sdk'
function App() {
const [number] = useState<string>('')
return (
<div className='App'>
<ForageSDK reusable={false} number={number} />
</div>
)
}
export default App
Component props
reusable
boolean -> if the card is reusablenumber
string -> card numberonSuccess
void -> triggered when request done succesfullyonFail
void -> triggered when request done with error