Skip to content

Commit a5d7fe3

Browse files
authored
Bug fix: ButtonBase sx base styles leaking into CSS modules feat flag (#5213)
* fix * Create chilly-phones-explode.md
1 parent 916ed95 commit a5d7fe3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Bug fix: `ButtonBase` sx base styles leaking into CSS modules feat flag

packages/react/src/Button/ButtonBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const ButtonBase = forwardRef(
118118
>
119119
<Box
120120
as={Component}
121-
sx={sxStyles}
121+
sx={sxProp}
122122
aria-disabled={loading ? true : undefined}
123123
{...rest}
124124
ref={innerRef}

0 commit comments

Comments
 (0)