Skip to content

Commit

Permalink
doc: update TabBar name
Browse files Browse the repository at this point in the history
  • Loading branch information
1587315093 committed Jun 26, 2023
1 parent 234c083 commit 350d735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 350d735

Please sign in to comment.