Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
function CopyAddress(props: CopyAddressProps): Element;
A component that copies an address to the clipboard.
Parameters
| Parameter | Type | Description |
|---|
props | CopyAddressProps | The props for the component. |
Returns
Element
The CopyAddress component.
Example
// Render the CopyAddress component with a custom label
function CopyAddressExample() {
const { evmAddress } = useEvmAddress();
if (!evmAddress) return null;
return (
<CopyAddress address={evmAddress} label="My EVM address" />
);
}