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
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
|
|
|
import React from 'react';
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Pagination } from 'antd';
|
2015-07-13 16:04:07 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2020-08-04 16:10:27 +08:00
|
|
|
<>
|
|
|
|
<Pagination simple defaultCurrent={2} total={50} />
|
|
|
|
<br />
|
|
|
|
<Pagination disabled simple defaultCurrent={2} total={50} />
|
2022-04-03 23:27:45 +08:00
|
|
|
</>
|
2020-08-04 16:10:27 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|