lionix-team / react-laravel-paginex

Laravel Pagination with ReactJS (customizable)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toggle `active` class for current activated item issue

atefBB opened this issue · comments

Hi, thank you for the great package.
I've copied the sample snippet code but it doesn't toggle the active class for the current activated item (it keeps showing the first item as activated), my code is:
<Pagination containerClass="pagination mb-2 justify-content-center" data={data} changePage={getData} buttonIcons={true} />
Any ideas?