Skip to content

Commit

Permalink
chore(Avatar): Move CSS modules feature flag from staff to ga for Ava…
Browse files Browse the repository at this point in the history
…tar component (#5062)

* Move Avatar feature flag from staff to ga

* Create five-seas-scream.md
  • Loading branch information
jonrohan authored Oct 8, 2024
1 parent 62e0d6e commit 0f5d5e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/five-seas-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move CSS modules feature flag from staff to ga for Avatar component
2 changes: 1 addition & 1 deletion packages/react/src/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Avatar = React.forwardRef<HTMLImageElement, AvatarProps>(function Avatar(
{alt = '', size = DEFAULT_AVATAR_SIZE, square = false, sx: sxProp = defaultSxProp, className, ...rest},
ref,
) {
const enabled = useFeatureFlag('primer_react_css_modules_staff')
const enabled = useFeatureFlag('primer_react_css_modules_ga')
const isResponsive = isResponsiveValue(size)
const avatarSx = isResponsive
? merge<BetterCssProperties | BetterSystemStyleObject>(
Expand Down

0 comments on commit 0f5d5e0

Please sign in to comment.