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

31 lines
392 B
Markdown
Raw Normal View History

2020-03-30 10:50:29 +08:00
---
order: 10
title:
zh-CN: 全部展示
en-US: Show All
---
## zh-CN
展示所有配置选项。
## en-US
Show all configured prop.
```tsx
2020-03-30 10:50:29 +08:00
import { Pagination } from 'antd';
2022-05-23 14:37:16 +08:00
import React from 'react';
2020-03-30 10:50:29 +08:00
const App: React.FC = () => (
<Pagination
total={85}
showSizeChanger
showQuickJumper
showTotal={total => `Total ${total} items`}
/>
2020-03-30 10:50:29 +08:00
);
export default App;
2020-03-30 10:50:29 +08:00
```