Address
基本使用
0x3ea2...7c18
可复制
0x3ea2cf...097c18
格式化
Default format: 0x 3ea2 cfd1 53b8 d850 5097 b81c 87c1 1f5d 0509 7c18
Custom format: 0x 3ea2c fd153 b8d85 05097 b81c8 7c11f 5d050 97c18
自定义Tooltip
0x3ea2...7c18
0x3ea2...7c18
0x3ea2...7c18
0x3ea2...7c18
API
属性 | 描述 | 类型 | 默认值 | 版本 |
---|---|---|---|---|
ellipsis | 地址裁剪策略 | boolean | { headClip?: number, tailClip?: number } | { headClip: 6, tailClip: 4 } | - |
copyable | 是否可复制 | boolean | false | - |
address | 地址 | string | - | - |
tooltip | 鼠标移入地址时展示提示 | boolean | Tooltip.title | true | - |
format | 地址格式化 | boolean | (input: string) => ReactNode | false | - |
locale | 多语言设置 | Locale["address"] | - | - |
更多属性继承自Typography.Text。