Skip to content

Commit

Permalink
Bug fix: ButtonBase sx base styles leaking into CSS modules feat fl…
Browse files Browse the repository at this point in the history
…ag (#5213)

* fix

* Create chilly-phones-explode.md
  • Loading branch information
langermank authored Nov 1, 2024
1 parent 916ed95 commit a5d7fe3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilly-phones-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: `ButtonBase` sx base styles leaking into CSS modules feat flag
2 changes: 1 addition & 1 deletion packages/react/src/Button/ButtonBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const ButtonBase = forwardRef(
>
<Box
as={Component}
sx={sxStyles}
sx={sxProp}
aria-disabled={loading ? true : undefined}
{...rest}
ref={innerRef}
Expand Down

0 comments on commit a5d7fe3

Please sign in to comment.