You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
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 ${total} items`;
|
|
|
|
}
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<div>
|
|
|
|
<Pagination size="small" total={50} />
|
|
|
|
<Pagination size="small" total={50} showSizeChanger showQuickJumper />
|
|
|
|
<Pagination size="small" total={50} showTotal={showTotal} />
|
|
|
|
</div>,
|
|
|
|
mountNode
|
|
|
|
);
|
|
|
|
````
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#components-pagination-demo-mini .ant-pagination:not(:last-child) {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
</style>
|