From 0cea6237dc502bc21223b90e9988d825f8aa196b Mon Sep 17 00:00:00 2001 From: Fullstop000 Date: Mon, 25 May 2020 17:35:24 +0800 Subject: [PATCH] doc: add exact type for onTabClick (#24448) --- components/tabs/index.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tabs/index.zh-CN.md b/components/tabs/index.zh-CN.md index 433dda1535..d57f831b1c 100644 --- a/components/tabs/index.zh-CN.md +++ b/components/tabs/index.zh-CN.md @@ -39,7 +39,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。 | onEdit | 新增和删除页签的回调,在 `type="editable-card"` 时有效 | (targetKey, action): void | 无 | | onNextClick | next 按钮被点击的回调 | Function | 无 | | onPrevClick | prev 按钮被点击的回调 | Function | 无 | -| onTabClick | tab 被点击的回调 | Function | 无 | +| onTabClick | tab 被点击的回调 | Function(key: string, event: MouseEvent) | 无 | | keyboard | 开启键盘切换功能 | boolean | true | ### Tabs.TabPane