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

# VerifyMfaModalProps

Props for the VerifyMfaModal component.

## See

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

## Properties

| Property                          | Type                            | Description                                                                                |
| --------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------ |
| <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="oncancel" /> `onCancel?`   | () => `void`                    | A function to call when the verification is canceled.                                      |
| <a id="onerror" /> `onError?`     | (`error`: `Error`) => `void`    | A function to call when the verification errors.                                           |
| <a id="onsuccess" /> `onSuccess?` | (`mfaCode`: `string`) => `void` | A function to call when MFA is successful verified.                                        |
