> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FundModalProps

## Extends

* `Omit`\<[`FundProps`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/FundProps), `"children"`>

## Properties

| Property                                              | Type                                                                                                                                    | Description                                                                                | Inherited from             |
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | -------------------------- |
| <a id="children" /> `children?`                       | `ReactNode`                                                                                                                             | The children to render inside the modal.                                                   | -                          |
| <a id="open" /> `open?`                               | `boolean`                                                                                                                               | Whether the modal is open. Note: if you set this, you must also set `setIsOpen`.           | -                          |
| <a id="setisopen" /> `setIsOpen?`                     | (`value`: `boolean`) => `void`                                                                                                          | A function to set the modal's open state. Note: if you set this, you must also set `open`. | -                          |
| <a id="style" /> `style?`                             | `CSSProperties`                                                                                                                         | -                                                                                          | `Omit.style`               |
| <a id="title" /> `title?`                             | `ReactNode`                                                                                                                             | -                                                                                          | `Omit.title`               |
| <a id="classname" /> `className?`                     | `string`                                                                                                                                | -                                                                                          | `Omit.className`           |
| <a id="onerror" /> `onError?`                         | (`e`: \| `undefined` \| [`OnrampError`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/OnrampError)) => `void`               | -                                                                                          | `Omit.onError`             |
| <a id="country" /> `country`                          | `string`                                                                                                                                | -                                                                                          | `Omit.country`             |
| <a id="onsuccess" /> `onSuccess?`                     | (`result?`: [`OnrampSuccessEventData`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/OnrampSuccessEventData)) => `void`   | -                                                                                          | `Omit.onSuccess`           |
| <a id="submitlabel" /> `submitLabel?`                 | `ReactNode`                                                                                                                             | -                                                                                          | `Omit.submitLabel`         |
| <a id="locale" /> `locale?`                           | `string`                                                                                                                                | -                                                                                          | `Omit.locale`              |
| <a id="cryptodecimalplaces" /> `cryptoDecimalPlaces?` | `number`                                                                                                                                | -                                                                                          | `Omit.cryptoDecimalPlaces` |
| <a id="cryptocurrency" /> `cryptoCurrency`            | `string`                                                                                                                                | -                                                                                          | `Omit.cryptoCurrency`      |
| <a id="fiatcurrency" /> `fiatCurrency`                | `string`                                                                                                                                | -                                                                                          | `Omit.fiatCurrency`        |
| <a id="fiatdecimalplaces" /> `fiatDecimalPlaces?`     | `number`                                                                                                                                | -                                                                                          | `Omit.fiatDecimalPlaces`   |
| <a id="inputtype" /> `inputType?`                     | [`InputType`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/InputType)                                                    | -                                                                                          | `Omit.inputType`           |
| <a id="network" /> `network`                          | `string`                                                                                                                                | -                                                                                          | `Omit.network`             |
| <a id="presetamountinputs" /> `presetAmountInputs?`   | [`FundPresetAmountInputs`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/FundPresetAmountInputs)                          | -                                                                                          | `Omit.presetAmountInputs`  |
| <a id="subdivision" /> `subdivision?`                 | `string`                                                                                                                                | -                                                                                          | `Omit.subdivision`         |
| <a id="destinationaddress" /> `destinationAddress`    | `string`                                                                                                                                | -                                                                                          | `Omit.destinationAddress`  |
| <a id="fetchbuyoptions" /> `fetchBuyOptions`          | [`FetchBuyOptions`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/FetchBuyOptions)                                        | -                                                                                          | `Omit.fetchBuyOptions`     |
| <a id="fetchbuyquote" /> `fetchBuyQuote`              | [`FetchBuyQuote`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/FetchBuyQuote)                                            | -                                                                                          | `Omit.fetchBuyQuote`       |
| <a id="openin" /> `openIn?`                           | `"popup"` \| `"tab"`                                                                                                                    | -                                                                                          | `Omit.openIn`              |
| <a id="redirecturl" /> `redirectUrl?`                 | `string`                                                                                                                                | -                                                                                          | `Omit.redirectUrl`         |
| <a id="onstatus" /> `onStatus?`                       | (`lifecycleStatus`: [`FundLifecycleStatus`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/FundLifecycleStatus)) => `void` | -                                                                                          | `Omit.onStatus`            |
