mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
278 B
278 B
简洁
- order: 6
简单地翻页。
var Pagination = antd.Pagination;
function onChange(page) {
console.log(page);
}
React.render(
<Pagination simple onChange={onChange} total={50} />,
document.getElementById('components-pagination-demo-simple'));