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.

23 lines
395 B

---
order: 4
title: 迷你
---
迷你版本。
````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);
````