Parameters
| Parameter | Type | Description |
|---|---|---|
props | ExportWalletCopyAddressProps | The props for the ExportWalletCopyAddress component. |
Returns
Element
The rendered component.
function ExportWalletCopyAddress(props: ExportWalletCopyAddressProps): Element;
| Parameter | Type | Description |
|---|---|---|
props | ExportWalletCopyAddressProps | The props for the ExportWalletCopyAddress component. |
Element
The rendered component.
// Render the ExportWalletCopyAddress component with a custom label
function ExportWalletCopyKeyButtonExample() {
const { evmAddress } = useEvmAddress();
if (!evmAddress) return null;
return (
<ExportWallet address={evmAddress}>
<ExportWalletCopyAddress label="My wallet address" />
</ExportWallet>
);
}
Was this page helpful?