From e8063bd14d8ce73f3d163ce980349acf132890de Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 29 Jun 2020 14:11:47 +0800 Subject: [PATCH] docs: Tabs animated default value close #25277 --- components/tabs/index.en-US.md | 2 +- components/tabs/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tabs/index.en-US.md b/components/tabs/index.en-US.md index a254b65aed..f6e05f7306 100644 --- a/components/tabs/index.en-US.md +++ b/components/tabs/index.en-US.md @@ -24,7 +24,7 @@ Ant Design has 3 types of Tabs for different situations. | --- | --- | --- | --- | --- | | addIcon | Customize add icon | ReactNode | - | 4.4.0 | | activeKey | Current TabPane's key | string | - | | -| animated | Whether to change tabs with animation. Only works while `tabPosition="top"\|"bottom"` | boolean \| {inkBar:boolean, tabPane:boolean} | true, false when `type="card"` | | +| animated | Whether to change tabs with animation. Only works while `tabPosition="top"\|"bottom"` | boolean \| {inkBar:boolean, tabPane:boolean} | false | | | renderTabBar | replace the TabBar | (props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement | - | | | defaultActiveKey | Initial active TabPane's key, if `activeKey` is not set. | string | - | | | hideAdd | Hide plus icon or not. Only works while `type="editable-card"` | boolean | false | | diff --git a/components/tabs/index.zh-CN.md b/components/tabs/index.zh-CN.md index ae33289b0d..6248074dc8 100644 --- a/components/tabs/index.zh-CN.md +++ b/components/tabs/index.zh-CN.md @@ -27,7 +27,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。 | --- | --- | --- | --- | --- | | addIcon | 自定义添加按钮 | ReactNode | - | 4.4.0 | | activeKey | 当前激活 tab 面板的 key | string | - | | -| animated | 是否使用动画切换 Tabs,在 `tabPosition=top|bottom` 时有效 | boolean \| {inkBar:boolean, tabPane:boolean} | true, 当 type="card" 时为 false | | +| animated | 是否使用动画切换 Tabs,在 `tabPosition=top|bottom` 时有效 | boolean \| {inkBar:boolean, tabPane:boolean} | false | | | renderTabBar | 替换 TabBar,用于二次封装标签头 | (props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement | - | | | defaultActiveKey | 初始化选中面板的 key,如果没有设置 activeKey | string | 第一个面板 | | | hideAdd | 是否隐藏加号图标,在 `type="editable-card"` 时有效 | boolean | false | |