Skip to main content
function ExportWalletCopyAddress(props: ExportWalletCopyAddressProps): Element;
Displays a truncated address with a copy button.

Parameters

ParameterTypeDescription
propsExportWalletCopyAddressPropsThe props for the ExportWalletCopyAddress component.

Returns

Element The rendered component.

See

Example

// 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>
  );
}