mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 00:29:12 +08:00
28 lines
340 B
Markdown
28 lines
340 B
Markdown
---
|
|
order: 6
|
|
title:
|
|
zh-CN: 简洁
|
|
en-US: Simple mode
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
简单的翻页。
|
|
|
|
## en-US
|
|
|
|
Simple mode.
|
|
|
|
```jsx
|
|
import { Pagination } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<>
|
|
<Pagination simple defaultCurrent={2} total={50} />
|
|
<br />
|
|
<Pagination disabled simple defaultCurrent={2} total={50} />
|
|
</>,
|
|
mountNode,
|
|
);
|
|
```
|