Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pagination): Disabled pagination link can no longer be clicked
Fixes #974. `PaginationLinks` with the `isDisabled` props now render as `span` and not as `a`. We also remove the now unwanted `href`, `aria-label` and `onClick` props. There were no tests files for PaginationLink, and I did not added one. I'd like #948 to be merged before adding those kind of fine-grained tests.
- Loading branch information
1 parent
043ad6b
commit 88b567f
Showing
3 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters