From da56c0ea57999749ec68c6e0754e8e2d01810071 Mon Sep 17 00:00:00 2001 From: "zhangyumei.0319" Date: Fri, 30 Aug 2024 14:39:09 +0800 Subject: [PATCH] docs: change API support version --- content/navigation/tabs/index-en-US.md | 6 +++--- content/navigation/tabs/index.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/navigation/tabs/index-en-US.md b/content/navigation/tabs/index-en-US.md index 5319058b32..2b1bf769d5 100644 --- a/content/navigation/tabs/index-en-US.md +++ b/content/navigation/tabs/index-en-US.md @@ -421,7 +421,7 @@ class App extends React.Component { `renderArrow` modifies the Arrow, with the input parameters being the overflowed items, position, click function, and defaultNode. -**Attention**: The first three parameters of renderArrow are supported since 2.61.0,while defaultNode parameter is supported since 2.65.0. +**Attention**: The first three parameters of renderArrow are supported since 2.61.0,while defaultNode parameter is supported since 2.66.0. ```jsx live=true dir="column" import React from 'react'; @@ -741,7 +741,7 @@ class App extends React.Component { | activeKey | The itemKey value of the currently active tab page | string | None | | className | class name | string | None | | collapsible | collapsed Tabs, **>=1.1.0** | boolean | false | -| dropdownProps | In collapsible mode, It is used to transparently transmit parameters to the Dropdown component of the drop-down menu, support since 2.65.0 | DropDownProps | { start: DropdownProps, end: DropdownProps } | +| dropdownProps | In collapsible mode, It is used to transparently transmit parameters to the Dropdown component of the drop-down menu, support since 2.66.0 | DropDownProps | { start: DropdownProps, end: DropdownProps } | | visibleTabsStyle | Overall scrolling area style **>=2.61.0** | style: CSSProperties | None | | contentStyle | The outer style object of the content area | CSSProperties | None | | defaultActiveKey | Initialize the key value of the selected tab page | string | '1' | @@ -749,7 +749,7 @@ class App extends React.Component { | lazyRender | Lazy rendering, only when the panel is activated will it be rendered in the DOM tree, **>=1.0.0** | boolean | false | | more | Render a portion of the Tab into a drop-down menu ** >= 2.59.0** | number \| {count:number,render:()=>ReactNode,dropdownProps:DropDownProps} | - | | renderTabBar | Used for secondary packaging tab bar | (tabBarProps: object, defaultTabBar: React.ComponentType) => ReactNode | None | -| renderArrow | Customize how overflow items indicator are rendered externally. By default, the overflow items are expanded when the arrow button is hovered. The first three parameters of renderArrow are supported since **>=2.61.0**, defaultNode is supported since **>=2.65.0** | (items: OverflowItem[],pos:"start"\|"end", handleArrowClick:()=>void, defaultNode: ReactNode)=> ReactNode | None | +| renderArrow | Customize how overflow items indicator are rendered externally. By default, the overflow items are expanded when the arrow button is hovered. The first three parameters of renderArrow are supported since **>=2.61.0**, defaultNode is supported since **>=2.66.0** | (items: OverflowItem[],pos:"start"\|"end", handleArrowClick:()=>void, defaultNode: ReactNode)=> ReactNode | None | | preventScroll | Indicates whether the browser should scroll the document to display the newly focused element, acting on the focus method inside the component, excluding the component passed in by the user | boolean | | showRestInDropdown | Whether to display the collapsed Tab in the drop-down menu (only effective when collapsible is true) **>= 2.61.0** | boolean | true | | size | Size, providing three types of `large`, `medium`, and `small`, **>=1.11.0, currently only supports linear Tabs** | string | `large` | diff --git a/content/navigation/tabs/index.md b/content/navigation/tabs/index.md index be6a801a62..76e2b5061f 100644 --- a/content/navigation/tabs/index.md +++ b/content/navigation/tabs/index.md @@ -444,7 +444,7 @@ class App extends React.Component { 通过 renderArrow 修改滚动折叠模式下,左右切换箭头的渲染,入参为溢出的 items 和 位置, 点击处理函数,以及 defaultNode。 -**注**:renderArrow 的前三个参数自 2.61.0 支持,defaultNode 自 2.65.0 支持。 +**注**:renderArrow 的前三个参数自 2.61.0 支持,defaultNode 自 2.66.0 支持。 ```jsx live=true dir="column" import React from 'react'; @@ -766,7 +766,7 @@ class App extends React.Component { | lazyRender | 懒渲染,仅当面板激活过才被渲染在 DOM 树中 | boolean | false | | more | 将一部分 Tab 渲染到下拉菜单中 ** >= 2.59.0** | number \| {count:number,render:()=>ReactNode,dropdownProps:DropDownProps} | - | | renderTabBar | 用于二次封装标签栏 | (tabBarProps: object, defaultTabBar: React.ComponentType) => ReactNode | 无 | -| renderArrow | 折叠滚动模式下,自定义左右切换箭头如何渲染,默认为箭头按钮 hover 时展开溢出项。前三个参数自 **>=2.61.0** 支持,defaultNode 参数自 **>=2.65.0** 支持| (items: OverflowItem[],pos:"start"\|"end", handleArrowClick:()=>void, defaultNode: ReactNode)=> ReactNode | 无 | +| renderArrow | 折叠滚动模式下,自定义左右切换箭头如何渲染,默认为箭头按钮 hover 时展开溢出项。前三个参数自 **>=2.61.0** 支持,defaultNode 参数自 **>=2.66.0** 支持| (items: OverflowItem[],pos:"start"\|"end", handleArrowClick:()=>void, defaultNode: ReactNode)=> ReactNode | 无 | | preventScroll | 指示浏览器是否应滚动文档以显示新聚焦的元素,作用于组件内的 focus 方法 | boolean | | | | showRestInDropdown | 是否将收起的 Tab 展示在下拉菜单中(仅当 collapsible 为 true 时生效) **>= 2.61.0** | boolean | true | | size | 大小,提供 `large`、`medium`、`small` 三种类型,**>=1.11.0,目前仅支持线性 Tabs** | string | `large` |