Skip to content

Commit aac10fa

Browse files
authored
chore(CounterLabel): Move CounterLabel CSS module feature flag from staff to ga (#5279)
* Move CounterLabel to ga feature flag * Create calm-meals-impress.md
1 parent b8e138e commit aac10fa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/calm-meals-impress.md

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+
Move CounterLabel CSS module feature flag from staff to ga

packages/react/src/CounterLabel/CounterLabel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type CounterLabelProps = React.PropsWithChildren<
2020

2121
const CounterLabel = forwardRef<HTMLSpanElement, CounterLabelProps>(
2222
({scheme = 'secondary', sx = defaultSxProp, className, children, ...rest}, forwardedRef) => {
23-
const enabled = useFeatureFlag('primer_react_css_modules_staff')
23+
const enabled = useFeatureFlag('primer_react_css_modules_ga')
2424
const label = <VisuallyHidden>&nbsp;({children})</VisuallyHidden>
2525
const counterProps = {
2626
ref: forwardedRef,

0 commit comments

Comments
 (0)