Skip to content

Commit

Permalink
chore: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jun 11, 2024
1 parent a1e345d commit 1ae80ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/navigation/tabs/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ keepDOM | Whether to render the DOM structure of the hidden panel when using Tab
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 |
renderOverflowItem | Customize the overflow rendering **>=2.61.0** | (items: OverflowItem[],pos:"start"\|"end")=> ReactNode | None
renderOverflowItem | Customize how overflow items are rendered externally. By default, the overflow items are expanded when the arrow button is hovered. **>=2.61.0** | (items: OverflowItem[],pos:"start"\|"end")=> 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 | | |
size | Size, providing three types of `large`, `medium`, and `small`, **>=1.11.0, currently only supports linear Tabs** | string | `large` |
style | style object | CSSProperties | None |
Expand Down
2 changes: 1 addition & 1 deletion content/navigation/tabs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ keepDOM | 使用 TabPane 写法时是否渲染隐藏面板的 DOM 结构,**>=1
lazyRender | 懒渲染,仅当面板激活过才被渲染在 DOM 树中, **>=1.0.0** | boolean | false |
more | 将一部分 Tab 渲染到下拉菜单中 ** >= 2.59.0** | number \| {count:number,render:()=>ReactNode,dropdownProps:DropDownProps} | - |
renderTabBar | 用于二次封装标签栏 | (tabBarProps: object, defaultTabBar: React.ComponentType) => ReactNode | 无 |
renderOverflowItem | 自定义渲染溢出部分 **>=2.61.0** | (items: OverflowItem[],pos:"start"\|"end")=> ReactNode | 无
renderOverflowItem | 自定义溢出项在外部如何渲染,默认为箭头按钮 hover 时展开溢出项 **>=2.61.0** | (items: OverflowItem[],pos:"start"\|"end")=> ReactNode | 无
preventScroll | 指示浏览器是否应滚动文档以显示新聚焦的元素,作用于组件内的 focus 方法 | boolean | | |
size | 大小,提供 `large``medium``small` 三种类型,**>=1.11.0,目前仅支持线性 Tabs** | string | `large` |
style | 样式对象 | CSSProperties | 无 |
Expand Down

0 comments on commit 1ae80ed

Please sign in to comment.