ant-design/components/pagination/demo/more.md

20 lines
268 B
Markdown
Raw Normal View History

2015-07-13 01:04:05 +08:00
# 更多
- order: 1
2015-07-21 11:13:32 +08:00
更多分页。
2015-07-13 01:04:05 +08:00
---
````jsx
var Pagination = antd.Pagination;
function onChange(page) {
console.log(page);
}
React.render(
2015-07-21 11:13:32 +08:00
<Pagination onChange={onChange} total={500} />,
2015-07-13 01:04:05 +08:00
document.getElementById('components-pagination-demo-more'));
````