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
294 B

# 简洁
- order: 6
简单地翻页。
---
````jsx
import { Pagination } from 'antd';
function onChange(page) {
console.log(page);
}
9 years ago
ReactDOM.render(
<Pagination simple current={1} onChange={onChange} total={50} />,
document.getElementById('components-pagination-demo-simple'));
````