This is a custom Pagination basically Ellipsis type of Pagination, React custom Ellipsis pagination for handling multiple dat/items on same screen with different page having limited items per page.
npm install react-ellipsis-paginationThis is a custom Pagination basically Ellipsis type of Pagination,
It can be used as component by including following lines of code :
const [page, setPage] = useState(1);
const [pageItems, setPageItems] = useState(20);
const [totalRecords, setTotalRecords] = useState(100);
In the above code we have used our custom react ellipsis pagination component.
1. page : page maintain the page Number.
2. pageItems : pageItems are the number of items per page.
3. totalRecords : totalRecords are number of records that has to be manage in this react ellipsis pagination.