diff --git a/components/tabs/index.en-US.md b/components/tabs/index.en-US.md index e5aca94121..0f05dfcbc3 100644 --- a/components/tabs/index.en-US.md +++ b/components/tabs/index.en-US.md @@ -25,7 +25,7 @@ Ant Design has 3 types of Tabs for different situations. | animated | Whether to change tabs with animation. Only works while `tabPosition="top"\|"bottom"` | boolean \| {inkBar:boolean, tabPane:boolean} | `true`, `false` when `type="card"` | | 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` | -| size | Tab bar size. Only works while `type="line"`. | `default` \| `small` | `default` | +| size | preset tab bar size | `large` \| `default` \| `small` | `default` | | tabBarExtraContent | Extra content in tab bar | React.ReactNode | - | | tabBarStyle | Tab bar style object | object | - | | tabPosition | Position of tabs | `top` \| `right` \| `bottom` \| `left` | `top` | diff --git a/components/tabs/index.zh-CN.md b/components/tabs/index.zh-CN.md index 534a220daf..83c14b235c 100644 --- a/components/tabs/index.zh-CN.md +++ b/components/tabs/index.zh-CN.md @@ -28,7 +28,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。 | animated | 是否使用动画切换 Tabs,在 `tabPosition=top|bottom` 时有效 | boolean \| {inkBar:boolean, tabPane:boolean} | true, 当 type="card" 时为 false | | defaultActiveKey | 初始化选中面板的 key,如果没有设置 activeKey | string | 第一个面板 | | hideAdd | 是否隐藏加号图标,在 `type="editable-card"` 时有效 | boolean | false | -| size | 大小,提供 `default` 和 `small` 两种大小,仅当 `type="line"` 时生效。 | string | 'default' | +| size | 大小,提供 `large` `default` 和 `small` 三种大小 | string | 'default' | | tabBarExtraContent | tab bar 上额外的元素 | React.ReactNode | 无 | | tabBarStyle | tab bar 的样式对象 | object | - | | tabPosition | 页签位置,可选值有 `top` `right` `bottom` `left` | string | 'top' |