mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:43:57 +08:00
20 lines
266 B
Markdown
20 lines
266 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
基础分页
|
|
|
|
---
|
|
|
|
````jsx
|
|
var Pagination = antd.Pagination;
|
|
|
|
function onChange(page) {
|
|
console.log(page);
|
|
}
|
|
|
|
React.render(
|
|
<Pagination onChange={onChange} total={50} />,
|
|
document.getElementById('components-pagination-demo-basic'));
|
|
````
|