mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
30 lines
387 B
Markdown
30 lines
387 B
Markdown
---
|
|
order: 6
|
|
title:
|
|
zh-CN: 简洁
|
|
en-US: Simple mode
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
简单的翻页。
|
|
|
|
## en-US
|
|
|
|
Simple mode.
|
|
|
|
```tsx
|
|
import { Pagination } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Pagination simple defaultCurrent={2} total={50} />
|
|
<br />
|
|
<Pagination disabled simple defaultCurrent={2} total={50} />
|
|
</>
|
|
);
|
|
|
|
export default App;
|
|
```
|