React
Last updated
Last updated
React version of Pay Button is the wrapper for the javascript version. For more detailed information about the API, please check the javascript documentation. The documentation for the javascript version also applies directly to the React version.
How to install React components:
Name | Required | Type | Default Value |
---|---|---|---|
receiver
true
string
null
amount
true
string
null
currency
true
string
‘USDC’
chainNetwork
false
string
‘SOLANA’
label
false
string
‘PAY’
useLabel
false
boolean
true
buttonColor
false
string
‘#1149FF’
buttonTextColor
false
string
‘#FFFFFF’
onLoad
false
function
null
onPayment
false
function
null
onError
false
function
null