Skip to content

Commit

Permalink
docs: Delete Unreferenced APIs from connector
Browse files Browse the repository at this point in the history
  • Loading branch information
shanchuan1 committed Jan 16, 2024
1 parent 48ab9b3 commit 0dd89ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/twenty-lamps-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ant-design/web3-common': patch
'@ant-design/web3': patch
---

docs: Delete Unreferenced APIs from connector
4 changes: 2 additions & 2 deletions packages/web3/src/connector/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ The properties of the `children` component of `Connector` are inherited and util
| onConnectClick | Connection event | `() => void;` | - | - |
| onDisconnectClick | Disconnection event | `() => void;` | - | - |
| onSwitchChain | Network switch event | `(chain: Chain) => Promise<viod>` | - | - |
| connected | Is Connected | `boolean` | - | - |
| chains | List of networks currently connected | `ChainSelectItem[]` | - | - |
| balance | Balance of the currently connected account | `Balance[]` \| `Balance` | - | - |
| availableChains | Available chains | `Chain[]` | - | - |
| chain | Current chain | [Chain](/components/types#chain) | - | |
4 changes: 2 additions & 2 deletions packages/web3/src/connector/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ order: 0
| onConnectClick | 连接事件 | `() => void;` | - | - |
| onDisconnectClick | 断开连接事件 | `() => void;` | - | - |
| onSwitchChain | 切换网络事件 | `(chain: Chain) => Promise<viod>` | - | - |
| connected | 是否已连接 | `boolean` | - | - |
| chains | 当前连接的网络列表 | `ChainSelectItem[]` | - | - |
| balance | 当前连接的账户余额 | `Balance[]` \| `Balance` | - | - |
| availableChains | 可以连接的链列表 | `Chain[]` | - | - |
| chain | 当前连接的链 | [Chain](/components/types#chain) | - | |

0 comments on commit 0dd89ff

Please sign in to comment.