Address
A simple text component that formats the address, truncating the middle part.
0xb79...268
Installation
npm
npx maiton add address
Usage
import { Address } from "../../../../components/Address";
<Address>0xb794f5ea0ba39494ce839613fffba74279579268</Address>
Props
The Address
component extends Text
, so you can pass all the TextProps
.
length
Description | The number of characters we want to show at the start and end of the address |
---|---|
Type | number | undefined |
Default | 3 |