Skip to content

Commit

Permalink
chore(CounterLabel): Move CounterLabel CSS module feature flag from s…
Browse files Browse the repository at this point in the history
…taff to ga (#5279)

* Move CounterLabel to ga feature flag

* Create calm-meals-impress.md
  • Loading branch information
jonrohan authored Nov 14, 2024
1 parent b8e138e commit aac10fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/calm-meals-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move CounterLabel CSS module feature flag from staff to ga
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_staff')
const enabled = useFeatureFlag('primer_react_css_modules_ga')
const label = <VisuallyHidden>&nbsp;({children})</VisuallyHidden>
const counterProps = {
ref: forwardedRef,
Expand Down

0 comments on commit aac10fa

Please sign in to comment.