ant-design/components/pagination/demo/mini.md

20 lines
287 B
Markdown
Raw Normal View History

2015-07-13 14:58:26 +08:00
# 迷你
- order: 4
2015-07-21 11:13:32 +08:00
迷你版本。
2015-07-13 14:58:26 +08:00
---
````jsx
var Pagination = antd.Pagination;
function onChange(page) {
console.log(page);
}
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-07-21 11:13:32 +08:00
<Pagination className="mini" onChange={onChange} total={50} />,
2015-07-13 14:58:26 +08:00
document.getElementById('components-pagination-demo-mini'));
````