mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +08:00
753c01ae18
fix antd.notification
20 lines
284 B
Markdown
20 lines
284 B
Markdown
# 迷你
|
|
|
|
- order: 4
|
|
|
|
迷你版本。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Pagination } from 'antd';
|
|
|
|
function onChange(page) {
|
|
console.log(page);
|
|
}
|
|
|
|
ReactDOM.render(
|
|
<Pagination size="small" onChange={onChange} total={50} />,
|
|
document.getElementById('components-pagination-demo-mini'));
|
|
````
|