Address
Display an address along with a utility icon to copy the address. A blockie image representation of the address will be shown.
Import
import { Address } from "~~/components/eth-mobile";
Usage
<Address address="0x34aA3F359A9D614239015126635CE7732c18fDF3" />
Props
Prop | Type | Default Value | Required | Description |
---|---|---|---|---|
address | string | undefined | Yes | Address in 0x___ format, it will resolve its ENS if it has one associated. |
containerStyle | ViewStyle | undefined | No | Style the component container. |
textStyle | TextStyle | undefined | No | Style the address. |
iconStyle | TextStyle | undefined | No | Style the copy icon. |
copyable | boolean | true | No | if set to true, an icon will be displayed to copy the address. |