Skip to content

Commit 1721a1a

Browse files
chiaweileegemini-code-assist[bot]afc163
authored
docs: totalBoundaryShowSizeChanger for Pagination (ant-design#56471)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
1 parent 8e1bdc8 commit 1721a1a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

components/pagination/index.en-US.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ Common props ref:[Common props](/docs/react/common-props)
5353
| responsive | If `size` is not specified, `Pagination` would resize according to the width of the window | boolean | - | |
5454
| showLessItems | Show less page items | boolean | false | |
5555
| showQuickJumper | Determine whether you can jump to pages directly | boolean \| { goButton: ReactNode } | false | |
56-
| showSizeChanger | Determine whether to show `pageSize` select, it will be true when `total > 50` | boolean \| [SelectProps](/components/select#api) | - | SelectProps: 5.21.0 |
56+
| showSizeChanger | Determine whether to show `pageSize` select | boolean \| [SelectProps](/components/select#api) | - | SelectProps: 5.21.0 |
57+
| totalBoundaryShowSizeChanger | When `total` larger than it, `showSizeChanger` will be true | number | 50 | |
5758
| showTitle | Show page item's title | boolean | true | |
5859
| showTotal | To display the total number and range | function(total, range) | - | |
5960
| simple | Whether to use simple mode | boolean \| { readOnly?: boolean } | - | |

components/pagination/index.zh-CN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WM86SrBC8TsAAA
5454
| responsive | 当 size 未指定时,根据屏幕宽度自动调整尺寸 | boolean | - | |
5555
| showLessItems | 是否显示较少页面内容 | boolean | false | |
5656
| showQuickJumper | 是否可以快速跳转至某页 | boolean \| { goButton: ReactNode } | false | |
57-
| showSizeChanger | 是否展示 `pageSize` 切换器,当 `total` 大于 50 时默认为 true | boolean \| [SelectProps](/components/select-cn#api) | - | SelectProps: 5.21.0 |
57+
| showSizeChanger | 是否展示 `pageSize` 切换器 | boolean \| [SelectProps](/components/select-cn#api) | - | SelectProps: 5.21.0 |
58+
| totalBoundaryShowSizeChanger |`total` 大于该值时,`showSizeChanger` 默认为 true | number | 50 | |
5859
| showTitle | 是否显示原生 tooltip 页码提示 | boolean | true | |
5960
| showTotal | 用于显示数据总量和当前数据顺序 | function(total, range) | - | |
6061
| simple | 当添加该属性时,显示为简单分页 | boolean \| { readOnly?: boolean } | - | |

0 commit comments

Comments
 (0)