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

16 lines
231 B
Markdown
Raw Normal View History

2015-07-13 16:04:07 +08:00
# 简洁
- order: 6
2015-07-21 11:13:32 +08:00
简单地翻页。
2015-07-13 16:04:07 +08:00
---
````jsx
import { Pagination } from 'antd';
2015-07-13 16:04:07 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-11-26 17:15:18 +08:00
<Pagination simple defaultCurrent={2} total={50} />,
2015-07-21 11:13:32 +08:00
document.getElementById('components-pagination-demo-simple'));
2015-07-13 16:04:07 +08:00
````