import React from 'react'; import type { PaginationProps } from 'antd'; import { Pagination } from 'antd'; const showTotal: PaginationProps['showTotal'] = (total) => `Total ${total} items`; const App: React.FC = () => ( <> > ); export default App;