mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 03:48:26 +08:00
31 lines
466 B
Markdown
31 lines
466 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 迷你
|
|
en-US: Mini size
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
迷你版本。
|
|
|
|
## en-US
|
|
|
|
Mini size pagination.
|
|
|
|
````jsx
|
|
import { Pagination } from 'antd';
|
|
|
|
function showTotal(total) {
|
|
return `共 ${total} 条`;
|
|
}
|
|
|
|
ReactDOM.render(<div>
|
|
<Pagination size="small" total={50} />
|
|
<br />
|
|
<Pagination size="small" total={50} showSizeChanger showQuickJumper />
|
|
<br />
|
|
<Pagination size="small" total={50} showTotal={showTotal} />
|
|
</div>, mountNode);
|
|
````
|