import React from 'react'; import { Pagination } from 'antd'; const App: React.FC = () => ( <> `Total ${total} items`} defaultPageSize={20} defaultCurrent={1} />
`${range[0]}-${range[1]} of ${total} items`} defaultPageSize={20} defaultCurrent={1} /> ); export default App;