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