Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update docs about locale in ConnectModal #422

Merged
merged 3 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/web3/src/connect-modal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The connection wallet popup, used with [ConnectButton](../connect-button/index.m
| groupOrder | Wallet group sorting function | `(a: string, b: string) => number` | - | - |
| mode | Popup mode | `'simple' \| 'normal' \| 'auto'` | `'auto'` | - |
| guide | Newbie guide content | `DefaultGuide` | [DefaultGuide](#defaultguide) | - |
| locale | Multilingual settings | `Locale["ConnectModal"]` | - | - |

Other modal properties see: [ModalProps](https://ant.design/components/modal#API)

Expand Down
1 change: 1 addition & 0 deletions packages/web3/src/connect-modal/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ order: 2
| groupOrder | 钱包分组排序函数 | `(a: string, b: string) => number` | - | - |
| mode | 弹窗模式 | `'simple' \| 'normal' \| 'auto'` | `'auto'` | - |
| guide | 新手指引内容 | `DefaultGuide` | [DefaultGuide](#defaultguide) | - |
| locale | 多语言设置 | `Locale["ConnectModal"]` | - | - |

其他弹框属性详见: [ModalProps](https://ant.design/components/modal-cn#api)

Expand Down