docs: update v4 tabs doc error(#6606) (#6607)

pull/6629/head
selicens 2 years ago committed by GitHub
parent 45ede0853b
commit 6be947aeb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -53,7 +53,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。
| change | 切换面板的回调 | Function(activeKey) {} | | change | 切换面板的回调 | Function(activeKey) {} |
| edit | 新增和删除页签的回调,在 `type="editable-card"` 时有效 | (action === 'add' ? event : targetKey, action): void | | edit | 新增和删除页签的回调,在 `type="editable-card"` 时有效 | (action === 'add' ? event : targetKey, action): void |
| tabClick | tab 被点击的回调 | Function | | tabClick | tab 被点击的回调 | Function |
| tabScroll | 滚动 TabBar 触发 | { direction: 'left' \| 'right' \| 'top' \| 'bottom' } | | tabScroll | 滚动 TabBar 触发 | { direction: 'left' \| 'right' \| 'top' \| 'bottom' } |
### Tabs.TabPane ### Tabs.TabPane

Loading…
Cancel
Save