AddressField
A field component to display Ethereum Addresses.
import { AddressField } from '@aragon/ui'
function App() {
return <AddressField address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C" />
}

TYPE | DEFAULT VALUE |
---|---|
String | None (Required) |
Adress to display in the field.
<AddressField address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C" />
TYPE | DEFAULT VALUE |
---|---|
Boolean | true |
Focus the text field when the component gets mounted.
TYPE | DEFAULT VALUE |
---|---|
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.
<AddressField
address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C"
icon={<img />}
/>
Last modified 6mo ago