thinkasany
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
components/pagination/index.en-US.md
-
components/pagination/index.zh-CN.md
|
|
@ -43,7 +43,7 @@ A long list can be divided into several pages using `Pagination`, and only one p |
|
|
|
| hideOnSinglePage | Whether to hide pager on single page | boolean | false | | |
|
|
|
| itemRender | To customize item's innerHTML | (page, type: 'page' \| 'prev' \| 'next', originalElement) => React.ReactNode | - | | |
|
|
|
| pageSize | Number of data items per page | number | - | | |
|
|
|
| pageSizeOptions | Specify the sizeChanger options | string\[] | \[`10`, `20`, `50`, `100`] | | |
|
|
|
| pageSizeOptions | Specify the sizeChanger options | string\[] \| number\[] | \[`10`, `20`, `50`, `100`] | | |
|
|
|
| responsive | If `size` is not specified, `Pagination` would resize according to the width of the window | boolean | - | | |
|
|
|
| showLessItems | Show less page items | boolean | false | | |
|
|
|
| showQuickJumper | Determine whether you can jump to pages directly | boolean \| { goButton: ReactNode } | false | | |
|
|
|
|
|
@ -44,7 +44,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WM86SrBC8TsAAA |
|
|
|
| hideOnSinglePage | 只有一页时是否隐藏分页器 | boolean | false | | |
|
|
|
| itemRender | 用于自定义页码的结构,可用于优化 SEO | (page, type: 'page' \| 'prev' \| 'next', originalElement) => React.ReactNode | - | | |
|
|
|
| pageSize | 每页条数 | number | - | | |
|
|
|
| pageSizeOptions | 指定每页可以显示多少条 | string\[] | \[`10`, `20`, `50`, `100`] | | |
|
|
|
| pageSizeOptions | 指定每页可以显示多少条 | string\[] \| number\[] | \[`10`, `20`, `50`, `100`] | | |
|
|
|
| responsive | 当 size 未指定时,根据屏幕宽度自动调整尺寸 | boolean | - | | |
|
|
|
| showLessItems | 是否显示较少页面内容 | boolean | false | | |
|
|
|
| showQuickJumper | 是否可以快速跳转至某页 | boolean \| { goButton: ReactNode } | false | | |
|
|
|