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