react-js-pagination icon indicating copy to clipboard operation
react-js-pagination copied to clipboard

Navigation does not work

Open Tarekrahman5500 opened this issue 1 year ago • 0 comments

none of the button are work

 <div className="paginationBox">
                                <Pagination
                                    activePage={currentPage}
                                    itemsCountPerPage={resultPerPage}
                                    totalItemsCount={productCount}
                                    onChange={setCurrentPageNo}
                                    nextPageText="Next"
                                    prevPageText="Prev"
                                    firstPageText="1st"
                                    lastPageText="Last"
                                    itemClass="page-item"
                                    linkClass="page-link"
                                    activeClass="pageItemActive"
                                    activeLinkClass="pageLinkActive"
                                />
                            </div>

 const setCurrentPageNo = (e, value) => {
        //  console.log(value.split("]")[1])
        setCurrentPage(e);
    };

Tarekrahman5500 avatar Mar 19 '23 16:03 Tarekrahman5500