We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It doesn't look like it is possible to set both the inactive and active link classes.
For example, trying to set the active link to green with all other links red:
<Pagination activePage={1} itemsCountPerPage={1} totalItemsCount={10} pageRangeDisplayed={5} onChange={(e) => selectPage(e)} itemClass="page-item" linkClass="page-link bg-danger" activeLinkClass="bg-success" />
Sets all to red, including the active. Looks like linkClass also gets applied to the active link and overrides:
<li class="page-item active"><a class="page-link bg-danger bg-success" href="#" aria-label="Go to page number 1">1</a></li>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It doesn't look like it is possible to set both the inactive and active link classes.
For example, trying to set the active link to green with all other links red:
Sets all to red, including the active. Looks like linkClass also gets applied to the active link and overrides:
<li class="page-item active"><a class="page-link bg-danger bg-success" href="#" aria-label="Go to page number 1">1</a></li>
The text was updated successfully, but these errors were encountered: