mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
docs: Pagination add all config demo
This commit is contained in:
parent
d3d7cf8af8
commit
084cc59051
30
components/pagination/demo/all.md
Normal file
30
components/pagination/demo/all.md
Normal 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,
|
||||
);
|
||||
```
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
order: 10
|
||||
order: 11
|
||||
title:
|
||||
zh-CN: 上一步和下一步
|
||||
en-US: Prev and next
|
||||
|
Loading…
Reference in New Issue
Block a user