mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-02 06:50:44 +08:00
753c01ae18
fix antd.notification
272 B
272 B
基本
- order: 0
基础分页。
import { Pagination } from 'antd';
function onChange(page) {
console.log(page);
}
ReactDOM.render(
<Pagination onChange={onChange} total={50} />,
document.getElementById('components-pagination-demo-basic'));