prembly-react-kyc
v1.0.2
Published
Prembly ReactJS KYC Verification library
Readme
prembly-react-kyc
Prembly ReactJS Verification library
Install
npm install --save prembly-react-kycUsage
import React from 'react'
import useIdentityPayKYC from 'prembly-react-kyc'
const App = () => {
const config = {
first_name: 'John',
last_name: 'Doe',
email: '[email protected]',
phone: '+2348012345678',
widget_key: 'your_widget_key_here',
widget_id: 'your_widget_id_here',
metadata: {
transaction_id: 'txn_123',
},
callback: (response: any) => {
console.log('Verification result:', response)
},
}
const verifyWithIdentity = useIdentityPayKYC(config)
return <button onClick={verifyWithIdentity} >Click to Test</button>
}
export default App
License
MIT © AbdlKabeer(AbdlKabeer Olanrewaju) "# prembly-react-kyc"
