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

24 lines
252 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 6
2016-07-29 10:15:31 +08:00
title:
zh-CN: 简洁
en-US: Simple mode
2016-03-31 09:40:55 +08:00
---
2015-07-13 16:04:07 +08:00
2016-07-29 10:15:31 +08:00
## zh-CN
简单的翻页。
## en-US
Simple mode.
2015-07-13 16:04:07 +08:00
2017-02-13 10:55:53 +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(
2018-06-27 15:55:04 +08:00
<Pagination simple defaultCurrent={2} total={50} />,
2018-11-28 15:00:03 +08:00
mountNode
);
2015-07-13 16:04:07 +08:00
````