import React from 'react'; import type { PaginationProps } from 'antd'; import { Pagination } from 'antd'; const onShowSizeChange: PaginationProps['onShowSizeChange'] = (current, pageSize) => { console.log(current, pageSize); }; const App: React.FC = () => ( <>
); export default App;