mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
docs: fix Pagination total demo (#25247)
This commit is contained in:
parent
74e4150ddb
commit
97df0f0fb6
@ -21,14 +21,14 @@ ReactDOM.render(
|
||||
<Pagination
|
||||
total={85}
|
||||
showTotal={total => `Total ${total} items`}
|
||||
pageSize={20}
|
||||
defaultPageSize={20}
|
||||
defaultCurrent={1}
|
||||
/>
|
||||
<br />
|
||||
<Pagination
|
||||
total={85}
|
||||
showTotal={(total, range) => `${range[0]}-${range[1]} of ${total} items`}
|
||||
pageSize={20}
|
||||
defaultPageSize={20}
|
||||
defaultCurrent={1}
|
||||
/>
|
||||
</div>,
|
||||
|
Loading…
Reference in New Issue
Block a user