docs: Pagination add all config demo

This commit is contained in:
zombiej 2020-03-30 10:50:29 +08:00
parent d3d7cf8af8
commit 084cc59051
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,30 @@
---
order: 10
title:
zh-CN: 全部展示
en-US: Show All
---
## zh-CN
展示所有配置选项。
## en-US
Show all configured prop.
```jsx
import { Pagination } from 'antd';
ReactDOM.render(
<div>
<Pagination
total={85}
showSizeChanger
showQuickJumper
showTotal={total => `Total ${total} items`}
/>
</div>,
mountNode,
);
```

View File

@ -1,5 +1,5 @@
---
order: 10
order: 11
title:
zh-CN: 上一步和下一步
en-US: Prev and next