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

20 lines
284 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);
}
React.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'));
````