mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
370 B
370 B
order | title | ||||
---|---|---|---|---|---|
3 |
|
zh-CN
快速跳转到某一页。
en-US
Jump to a page directly.
import { Pagination } from 'antd';
function onChange(pageNumber) {
console.log('Page: ', pageNumber);
}
ReactDOM.render(
<Pagination showQuickJumper defaultCurrent={2} total={500} onChange={onChange} />,
mountNode
);