Skip to content

Commit de4fc48

Browse files
authoredFeb 4, 2025··
bugfix(ActionList.Item): Remove styles from enabled ActionList.Item (#5657)
* remove merge styles * changeset
1 parent 14b840f commit de4fc48

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/giant-lizards-clap.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Remove style from sx

‎packages/react/src/ActionList/Item.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export const Item = React.forwardRef<HTMLLIElement, ActionListItemProps>(
369369
>
370370
<LiBox
371371
{...containerProps}
372-
sx={merge<BetterSystemStyleObject>(styles, sxProp)}
372+
sx={sxProp}
373373
ref={listSemantics ? forwardedRef : null}
374374
data-variant={variant === 'danger' ? variant : undefined}
375375
data-active={active ? true : undefined}

0 commit comments

Comments
 (0)
Please sign in to comment.