CDP Frontend SDK
Preparing search index...
@coinbase/cdp-react
unstable_FundProps
Interface unstable_FundProps
All the props for the Fund component.
interface
unstable_FundProps
{
children
?:
ReactNode
|
(
(
state
:
unstable_FundState
)
=>
ReactNode
)
;
className
?:
string
;
fetchBuyOptions
:
unstable_FetchBuyOptions
;
fetchBuyQuote
:
unstable_FetchBuyQuote
;
inputType
?:
unstable_InputType
;
openIn
?:
"tab"
|
"popup"
;
submitLabel
?:
ReactNode
;
title
?:
ReactNode
;
country
:
string
;
locale
?:
string
;
cryptoDecimalPlaces
?:
number
;
cryptoCurrency
:
string
;
fiatCurrency
:
string
;
fiatDecimalPlaces
?:
number
;
network
:
string
;
presetAmountInputs
?:
unstable_FundPresetAmountInputs
;
subdivision
?:
string
;
onError
?:
(
e
:
undefined
|
unstable_OnrampError
)
=>
void
;
onStatus
?:
(
lifecycleStatus
:
unstable_FundLifecycleStatus
)
=>
void
;
onSuccess
?:
(
result
?:
unstable_OnrampSuccessEventData
)
=>
void
;
}
Hierarchy (
View Summary
)
unstable_FundStateProps
FundLifecycleEvents
unstable_FundProps
unstable_FundModalProps
Index
Properties
children?
class
Name?
fetch
Buy
Options
fetch
Buy
Quote
input
Type?
open
In?
submit
Label?
title?
country
locale?
crypto
Decimal
Places?
crypto
Currency
fiat
Currency
fiat
Decimal
Places?
network
preset
Amount
Inputs?
subdivision?
on
Error?
on
Status?
on
Success?
Properties
Optional
children
children
?:
ReactNode
|
(
(
state
:
unstable_FundState
)
=>
ReactNode
)
Optional
class
Name
className
?:
string
fetch
Buy
Options
fetchBuyOptions
:
unstable_FetchBuyOptions
fetch
Buy
Quote
fetchBuyQuote
:
unstable_FetchBuyQuote
Optional
input
Type
inputType
?:
unstable_InputType
Optional
open
In
openIn
?:
"tab"
|
"popup"
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
?:
unstable_FundPresetAmountInputs
Optional
subdivision
subdivision
?:
string
Optional
on
Error
onError
?:
(
e
:
undefined
|
unstable_OnrampError
)
=>
void
Optional
on
Status
onStatus
?:
(
lifecycleStatus
:
unstable_FundLifecycleStatus
)
=>
void
Optional
on
Success
onSuccess
?:
(
result
?:
unstable_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
submit
Label
title
country
locale
crypto
Decimal
Places
crypto
Currency
fiat
Currency
fiat
Decimal
Places
network
preset
Amount
Inputs
subdivision
on
Error
on
Status
on
Success
CDP Frontend SDK
Loading...
All the props for the Fund component.