A field component to display Ethereum Addresses.
import { AddressField } from '@aragon/ui' function App() { return <AddressField address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C" /> }
address
String
None (Required)
Adress to display in the field.
autofocus
Boolean
true
Focus the text field when the component gets mounted.
icon
Node
None
Icon to display in the field. Can pass anything that can be rendered, such as num, string, DOM elements, an array of them, or fragments that contain them.
Last updated 3 years ago
Was this helpful?
<AddressField address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C" />
<AddressField address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C" icon={<img />} />