mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
20 lines
282 B
Markdown
20 lines
282 B
Markdown
|
# 迷你
|
||
|
|
||
|
- order: 4
|
||
|
|
||
|
迷你版本
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
var Pagination = antd.Pagination;
|
||
|
|
||
|
function onChange(page) {
|
||
|
console.log(page);
|
||
|
}
|
||
|
|
||
|
React.render(
|
||
|
<Pagination className="mini" onChange={onChange} total={50} />,
|
||
|
document.getElementById('components-pagination-demo-mini'));
|
||
|
````
|