# Working on the issues and will be fixing very soon...

# for any query connect at himanshusonkar84@gmail.com


# React Ellipsis Pagination || React Pagination || React Custom Pagination

This is a custom Pagination basically Ellipsis type of Pagination,
It can be used as component by including following lines of code :



![pagination](./icons/page1.png)


![pagination](./icons/page2.png)


<br/>
<code>
const [page, setPage] = useState(1);
</code>
<br/>
<code>
const [pageItems, setPageItems] = useState(20);
</code>
<br/>

<code>
const [totalRecords, setTotalRecords] = useState(100);
</code>
<br/>
<br/>

 `<CustomEllipsisPagination 
 handler={(page)=> setPage(page)} pageCount={Math.ceil(totalRecords / pageItems)} />`

<br/>

<i>In the above code we have used our custom react ellipsis pagination component.</i>

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. 


