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

doc: update TabBar name #6219

Merged
merged 1 commit into from
Jun 27, 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
2 changes: 1 addition & 1 deletion src/components/tab-bar/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Useful for switching between different pages.
| Name | Description | Type | Default |
| --- | --- | --- | --- |
| activeKey | `key` of currently active `item` | `string \| null` | - |
| defaultActiveKey | The initialized `key` of the selected `item`, if the `activeKey` is not set | `string \| null` | `key` of the 1st `Tab` |
| defaultActiveKey | The initialized `key` of the selected `item`, if the `activeKey` is not set | `string \| null` | `key` of the first `TabBar.Item` |
| onChange | Callback when switching panel | `(key: string) => void` | - |
| safeArea | Whether to enable safe area padding | `boolean` | `false` |

Expand Down
2 changes: 1 addition & 1 deletion src/components/tab-bar/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| activeKey | 当前激活 `item` 的 `key` | `string \| null` | - |
| defaultActiveKey | 初始化选中 `item` 的 `key`,如果没有设置 `activeKey` | `string \| null` | 第一个 `Tab` 的 `key` |
| defaultActiveKey | 初始化选中 `item` 的 `key`,如果没有设置 `activeKey` | `string \| null` | 第一个 `TabBar.Item` 的 `key` |
| onChange | 切换面板的回调 | `(key: string) => void` | - |
| safeArea | 是否开启安全区适配 | `boolean` | `false` |

Expand Down
Loading