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.
20 lines
282 B
20 lines
282 B
10 years ago
|
# 迷你
|
||
|
|
||
|
- 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'));
|
||
|
````
|