You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
271 B

# 基本
- order: 0
基础分页。
---
````jsx
var Pagination = antd.Pagination;
function onChange(page) {
console.log(page);
}
9 years ago
ReactDOM.render(
<Pagination onChange={onChange} total={50} />,
document.getElementById('components-pagination-demo-basic'));
````