I am using MUI TablePagination to create pagination in my table. The code is working fine and I'm getting most of the functionality I'm looking for:
- The ability for users to select, via a dropdown, 5, 10 or 20 users per given page.
- Dynamically display the number of pages based on the selected number of users per page.
However, I'm missing this functionality and I'm not sure what prop to use with this component to accomplish this:
- The ability for users to navigate to a selected page from the listed number of result pages.
As you can see in
it displays 1-5 of 22, but I want to give users the ability to select page like in this 
Here is my functional code:
<TablePagination
rowsPerPageOptions={[5, 10, 20]}
component="div"
count={showUser.length}
rowsPerPage={rowsPerPage}
page={page}
onPageChange={handleChangePage}
onRowsPerPageChange={handleChangeRowsPerPage}
/>
I want to accomplish this without removing 1,2 functionality.