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

20 lines
266 B
Markdown
Raw Normal View History

2015-07-13 01:04:05 +08:00
# 基本
- 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'));
````