Skip to main content
Props for the ExportWalletModal component.

See

ExportWalletModal

Extends

  • Pick<ExportWalletProps, "address" | "onIframeReady" | "onCopySuccess" | "onIframeError">

Properties

PropertyTypeDescriptionInherited from
children?ReactNodeIf provided, will render the children instead of the default trigger button.-
open?booleanWhether the modal is open. Note: if you set this, you must also set setIsOpen.-
setIsOpen?(value: boolean) => voidA function to set the modal’s open state. Note: if you set this, you must also set open.-
addressstringThe address of the account to export.Pick.address
onCopySuccess?() => voidA function to call when the key is copied successfully.Pick.onCopySuccess
onIframeReady?() => voidA function to call when the iframe UI is ready.Pick.onIframeReady
onIframeError?(error?: string) => voidA function to call when there is an error in the secure iframePick.onIframeError