import React from 'react'; import type { PaginationProps } from 'antd'; import { Pagination } from 'antd'; const itemRender: PaginationProps['itemRender'] = (_, type, originalElement) => { if (type === 'prev') { return Previous; } if (type === 'next') { return Next; } return originalElement; }; const App: React.FC = () => ; export default App;