> ## 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.

# EnrollMfaModalProps

Props for the EnrollMfaModal component.

## See

[EnrollMfaModal](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Components/EnrollMfaModal)

## Extends

* `Pick`\<[`EnrollMfaProps`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/EnrollMfaProps), `"onEnrollSuccess"` | `"resetOnSuccess"`>

## Properties

| Property                                      | Type                           | Description                                                                                  | Inherited from         |
| --------------------------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------- | ---------------------- |
| <a id="children" /> `children?`               | `ReactNode`                    | If provided, will render the children instead of the default trigger button.                 | -                      |
| <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="onenrollsuccess" /> `onEnrollSuccess?` | () => `void`                   | A function to call when the enrollment is successful.                                        | `Pick.onEnrollSuccess` |
| <a id="resetonsuccess" /> `resetOnSuccess?`   | `boolean`                      | Whether to reset the enrollment state when the enrollment is successful. Defaults to `true`. | `Pick.resetOnSuccess`  |
