Skip to content

Commit b4e15b8

Browse files
authored
Make the showPages prop on our Pagination components responsive (#3390)
* makes the showPages prop on our Pagination components responsive * Update generated/components.json * updates docs * adds changeset * Update generated/components.json * updates tests * updates changeset with changed components * updates changeset with changed components again * refactor to only calculate viewport sizes once --------- Co-authored-by: mperrotti <[email protected]>
1 parent daee9a9 commit b4e15b8

File tree

8 files changed

+5581
-10
lines changed

8 files changed

+5581
-10
lines changed

.changeset/green-rules-tickle.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@primer/react': minor
3+
---
4+
5+
The showPages prop on both Pagination components can now accept a responsive value.
6+
7+
<!-- Changed components: DataTable, Pagination -->

0 commit comments

Comments
 (0)