Skip to content

Commit 00600f7

Browse files
Corrects styling on Buttons that only have a count and icon (#5448)
* adds 'count' prop to IconButton * adds VRT for IconButton with trailing counter * updates IconButton component API docs * adds changeset * test(vrt): update snapshots * adds 'count' to IconButton Playground story * addresses feedback to modify component API * modifies changeset * reverts new IconButton VRT * reverts new IconButton stories * test(vrt): update snapshots * appeases the linter * add vrt * test(vrt): update snapshots --------- Co-authored-by: mperrotti <mperrotti@users.noreply.github.com> Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com> Co-authored-by: langermank <langermank@users.noreply.github.com>
1 parent 3f68caf commit 00600f7

14 files changed

+43
-3
lines changed

.changeset/brave-penguins-clap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": minor
3+
---
4+
5+
Corrects horizontal padding of `<Button>` when the button only contains an icon and a counter label (no button text label).
5.27 KB
Loading
5.16 KB
Loading
5.48 KB
Loading
5.27 KB
Loading
5.27 KB
Loading
5.23 KB
Loading
5.51 KB
Loading
5.23 KB
Loading
5.23 KB
Loading

0 commit comments

Comments
 (0)