mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
* fix: Pagination missing showTitle (#23134) * Update Chinese description of showTitle Co-Authored-By: 偏右 <afc163@gmail.com> Co-authored-by: 偏右 <afc163@gmail.com>
This commit is contained in:
parent
ca616647ce
commit
f93f86123e
@ -26,6 +26,7 @@ export interface PaginationProps {
|
||||
pageSizeOptions?: string[];
|
||||
onShowSizeChange?: (current: number, size: number) => void;
|
||||
showQuickJumper?: boolean | { goButton?: React.ReactNode };
|
||||
showTitle?: boolean;
|
||||
showTotal?: (total: number, range: [number, number]) => React.ReactNode;
|
||||
size?: 'default' | 'small';
|
||||
responsive?: boolean;
|
||||
|
@ -32,6 +32,7 @@ cols: 1
|
||||
| showLessItems | 是否显示较少页面内容 | boolean | false | |
|
||||
| showQuickJumper | 是否可以快速跳转至某页 | boolean \| `{ goButton: ReactNode }` | false | |
|
||||
| showSizeChanger | 是否展示 `pageSize` 切换器,当 `total` 大于 `50` 时默认为 `true` | boolean | - | |
|
||||
| showTitle | 是否显示原生 tooltip 页码提示 | boolean | true | |
|
||||
| showTotal | 用于显示数据总量和当前数据顺序 | Function(total, range) | - | |
|
||||
| simple | 当添加该属性时,显示为简单分页 | boolean | - | |
|
||||
| size | 当为「small」时,是小尺寸分页 | 'default' \| 'small' | "" | |
|
||||
|
Loading…
Reference in New Issue
Block a user