mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
Merge pull request #18133 from lhx6538665/patch-5
更新 Pagination 组件 文档的版本号
This commit is contained in:
commit
91281e4fbc
@ -31,7 +31,7 @@ A long list can be divided into several pages by `Pagination`, and only one page
|
||||
| showLessItems | show less page items | boolean | false | 3.16.3 |
|
||||
| showQuickJumper | determine whether you can jump to pages directly | boolean \| `{ goButton: ReactNode }` | false | |
|
||||
| showSizeChanger | determine whether `pageSize` can be changed | boolean | false | |
|
||||
| showTitle | show page items title | boolean | true | 3.19.3 |
|
||||
| showTitle | show page items title | boolean | true | |
|
||||
| showTotal | to display the total number and range | Function(total, range) | - | |
|
||||
| simple | whether to use simple mode | boolean | - | |
|
||||
| size | specify the size of `Pagination`, can be set to `small` | string | "" | |
|
||||
|
@ -24,7 +24,7 @@ cols: 1
|
||||
| current | 当前页数 | number | - | |
|
||||
| defaultCurrent | 默认的当前页数 | number | 1 | |
|
||||
| defaultPageSize | 默认的每页条数 | number | 10 | |
|
||||
| disabled | 禁用分页 | boolean | - | 3.10.0 | 3.18.0 |
|
||||
| disabled | 禁用分页 | boolean | - | 3.18.0 |
|
||||
| hideOnSinglePage | 只有一页时是否隐藏分页器 | boolean | false | 3.1.0 |
|
||||
| itemRender | 用于自定义页码的结构,可用于优化 SEO | (page, type: 'page' \| 'prev' \| 'next', originalElement) => React.ReactNode | - | |
|
||||
| pageSize | 每页条数 | number | - | |
|
||||
|
Loading…
Reference in New Issue
Block a user