Pagination / 分页
多个页面之间的导航与鉴别。
基础的
默认的分页会自动收缩与扩展。
Limit
调整最大可展示页面数。
Icon
用图标定制按钮。
APIs / 接口文档
Pagination.Props
属性 | 描述 | 类型 | 推荐值 | 默认 |
---|---|---|---|---|
initialPage | 初始选中的页面 | number | - | 1 |
page | 当前页码 | number | - | 1 |
count | 页码数量 | number | - | 1 |
limit | 一次可展示页面的最大值 | number | - | 7 |
onChange | 分页器的事件 | (page: number) => void | - | - |
... | 原生属性 | HTMLAttributes | 'id', 'className', ... | - |
Pagination.Previous.Props
属性 | 描述 | 类型 | 推荐值 | 默认 |
---|---|---|---|---|
... | 原生属性 | ButtonHTMLAttributes | 'id', 'className', ... | - |
Pagination.Next.Props
属性 | 描述 | 类型 | 推荐值 | 默认 |
---|---|---|---|---|
... | 原生属性 | ButtonHTMLAttributes | 'id', 'className', ... | - |
文档贡献者