Extends
Omit<FundProps,"children">
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
children? | ReactNode | The children to render inside the modal. | - |
open? | boolean | Whether the modal is open. Note: if you set this, you must also set setIsOpen. | - |
setIsOpen? | (value: boolean) => void | A function to set the modal’s open state. Note: if you set this, you must also set open. | - |
className? | string | - | Omit.className |
style? | CSSProperties | - | Omit.style |
onError? | (e: | undefined | OnrampError) => void | - | Omit.onError |
title? | ReactNode | - | Omit.title |
country | string | - | Omit.country |
submitLabel? | ReactNode | - | Omit.submitLabel |
onSuccess? | (result?: OnrampSuccessEventData) => void | - | Omit.onSuccess |
locale? | string | - | Omit.locale |
cryptoDecimalPlaces? | number | - | Omit.cryptoDecimalPlaces |
cryptoCurrency | string | - | Omit.cryptoCurrency |
fiatCurrency | string | - | Omit.fiatCurrency |
fiatDecimalPlaces? | number | - | Omit.fiatDecimalPlaces |
inputType? | InputType | - | Omit.inputType |
network | string | - | Omit.network |
presetAmountInputs? | FundPresetAmountInputs | - | Omit.presetAmountInputs |
subdivision? | string | - | Omit.subdivision |
destinationAddress | string | - | Omit.destinationAddress |
fetchBuyOptions | FetchBuyOptions | - | Omit.fetchBuyOptions |
fetchBuyQuote | FetchBuyQuote | - | Omit.fetchBuyQuote |
openIn? | "tab" | "popup" | - | Omit.openIn |
redirectUrl? | string | - | Omit.redirectUrl |
onStatus? | (lifecycleStatus: FundLifecycleStatus) => void | - | Omit.onStatus |