-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pager): add props to conditional render elements and smart rende…
…r buttons Adds `show...` props to support conditional rendering of elements within `Pager`. Adds support for smart rendering navigartion controls, if there is zero or one page all buttons are hidden, if there is only two the `First` and `Last` buttons are hidden. Adds example of responsive `Pager` using the `show...` props and the `useMediaQuery` hook fix #3425
- Loading branch information
Showing
13 changed files
with
673 additions
and
1,473 deletions.
There are no files selected for viewing
1,075 changes: 0 additions & 1,075 deletions
1,075
src/components/pager/__internal__/__snapshots__/pager.spec.js.snap
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.