Skip to main content
The props for the ExportWallet component.

See

ExportWallet

Extends

  • Omit<HTMLAttributes<HTMLDivElement>, "children">

Properties

PropertyTypeDescription
children?| ReactNode | (props: { type: "solana" | "evm-eoa" | "evm-smart"; isSessionExpired: boolean; }) => ReactNodeThe children to render. If a function is provided, it will be called with the address type and isSessionExpired as props.
addressstringThe address of the account to export.
onIframeReady?() => voidA function to call when the iframe UI is ready.
onCopySuccess?() => voidA function to call when the key is copied successfully.
onIframeError?(error?: string) => voidA function to call when there is an error in the secure iframe
onIframeSessionExpired?() => voidA function to call when the iframe session has expired.