iamraphson / react-paystack

ReactJS library for implementing paystack payment gateway
https://www.npmjs.com/package/react-paystack
MIT License
445 stars 159 forks source link

fix:add argument for type callback #77

Closed kingebere closed 1 year ago

kingebere commented 1 year ago

Added an argument, response object, to the type, callback to enable typescript users to get the object from the onSuccess property

iamraphson commented 1 year ago

you can access the whole object now