Skip to content

Commit

Permalink
chore(CounterLabel): Move CounterLabel css modules feature flag to st…
Browse files Browse the repository at this point in the history
…aff (#5147)

* Move CounterLabel css modules feature flag to staff

* Create wise-llamas-exist.md
  • Loading branch information
jonrohan authored Oct 22, 2024
1 parent ad554da commit e421f32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-llamas-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move CounterLabel css modules feature flag to staff
2 changes: 1 addition & 1 deletion packages/react/src/CounterLabel/CounterLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type CounterLabelProps = React.PropsWithChildren<

const CounterLabel = forwardRef<HTMLSpanElement, CounterLabelProps>(
({scheme = 'secondary', sx = defaultSxProp, className, children, ...rest}, forwardedRef) => {
const enabled = useFeatureFlag('primer_react_css_modules_team')
const enabled = useFeatureFlag('primer_react_css_modules_staff')
const label = <VisuallyHidden>&nbsp;({children})</VisuallyHidden>
const counterProps = {
ref: forwardedRef,
Expand Down

0 comments on commit e421f32

Please sign in to comment.