CDP Frontend SDK
Preparing search index...
@coinbase/cdp-react
FundProps
Interface FundProps
All the props for the Fund component.
interface
FundProps
{
children
?:
ReactNode
|
(
(
state
:
FundState
)
=>
ReactNode
)
;
className
?:
string
;
fetchBuyOptions
:
FetchBuyOptions
;
fetchBuyQuote
:
FetchBuyQuote
;
inputType
?:
InputType
;
openIn
?:
"tab"
|
"popup"
;
redirectUrl
?:
string
;
submitLabel
?:
ReactNode
;
title
?:
ReactNode
;
country
:
string
;
locale
?:
string
;
cryptoDecimalPlaces
?:
number
;
cryptoCurrency
:
string
;
fiatCurrency
:
string
;
fiatDecimalPlaces
?:
number
;
network
:
string
;
presetAmountInputs
?:
FundPresetAmountInputs
;
subdivision
?:
string
;
destinationAddress
:
string
;
onError
?:
(
e
:
undefined
|
OnrampError
)
=>
void
;
onStatus
?:
(
lifecycleStatus
:
FundLifecycleStatus
)
=>
void
;
onSuccess
?:
(
result
?:
OnrampSuccessEventData
)
=>
void
;
}
Hierarchy (
View Summary
)
FundStateProps
FundLifecycleEvents
FundProps
FundModalProps
Index
Properties
children?
class
Name?
fetch
Buy
Options
fetch
Buy
Quote
input
Type?
open
In?
redirect
Url?
submit
Label?
title?
country
locale?
crypto
Decimal
Places?
crypto
Currency
fiat
Currency
fiat
Decimal
Places?
network
preset
Amount
Inputs?
subdivision?
destination
Address
on
Error?
on
Status?
on
Success?
Properties
Optional
children
children
?:
ReactNode
|
(
(
state
:
FundState
)
=>
ReactNode
)
Optional
class
Name
className
?:
string
fetch
Buy
Options
fetchBuyOptions
:
FetchBuyOptions
fetch
Buy
Quote
fetchBuyQuote
:
FetchBuyQuote
Optional
input
Type
inputType
?:
InputType
Optional
open
In
openIn
?:
"tab"
|
"popup"
Optional
redirect
Url
redirectUrl
?:
string
Optional
submit
Label
submitLabel
?:
ReactNode
Optional
title
title
?:
ReactNode
country
country
:
string
Optional
locale
locale
?:
string
Optional
crypto
Decimal
Places
cryptoDecimalPlaces
?:
number
crypto
Currency
cryptoCurrency
:
string
fiat
Currency
fiatCurrency
:
string
Optional
fiat
Decimal
Places
fiatDecimalPlaces
?:
number
network
network
:
string
Optional
preset
Amount
Inputs
presetAmountInputs
?:
FundPresetAmountInputs
Optional
subdivision
subdivision
?:
string
destination
Address
destinationAddress
:
string
Optional
on
Error
onError
?:
(
e
:
undefined
|
OnrampError
)
=>
void
Optional
on
Status
onStatus
?:
(
lifecycleStatus
:
FundLifecycleStatus
)
=>
void
Optional
on
Success
onSuccess
?:
(
result
?:
OnrampSuccessEventData
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
children
class
Name
fetch
Buy
Options
fetch
Buy
Quote
input
Type
open
In
redirect
Url
submit
Label
title
country
locale
crypto
Decimal
Places
crypto
Currency
fiat
Currency
fiat
Decimal
Places
network
preset
Amount
Inputs
subdivision
destination
Address
on
Error
on
Status
on
Success
CDP Frontend SDK
Loading...
All the props for the Fund component.