Skip to content

Commit

Permalink
Make the showPages prop on our Pagination components responsive (#3390
Browse files Browse the repository at this point in the history
)

* 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 <mperrotti@users.noreply.github.com>
  • Loading branch information
mperrotti and mperrotti authored Jul 14, 2023
1 parent daee9a9 commit b4e15b8
Show file tree
Hide file tree
Showing 8 changed files with 5,581 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .changeset/green-rules-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': minor
---

The showPages prop on both Pagination components can now accept a responsive value.

<!-- Changed components: DataTable, Pagination -->
Loading

0 comments on commit b4e15b8

Please sign in to comment.