Skip to content

Commit 6bf3e9e

Browse files
authored
chore(Radio): Move Radio component css module feature flag to ga (#5377)
* Move Radio component to ga * Create large-cars-repeat.md
1 parent efc5c47 commit 6bf3e9e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/large-cars-repeat.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 Radio component css module feature flag to ga

packages/react/src/Radio/Radio.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type RadioProps = {
4848
SxProp
4949

5050
const StyledRadio = toggleStyledComponent(
51-
'primer_react_css_modules_staff',
51+
'primer_react_css_modules_ga',
5252
'input',
5353
styled.input`
5454
${sharedCheckboxAndRadioStyles};
@@ -103,7 +103,7 @@ const Radio = React.forwardRef<HTMLInputElement, RadioProps>(
103103
ref,
104104
): ReactElement => {
105105
const radioGroupContext = useContext(RadioGroupContext)
106-
const enabled = useFeatureFlag('primer_react_css_modules_staff')
106+
const enabled = useFeatureFlag('primer_react_css_modules_ga')
107107
const handleOnChange: ChangeEventHandler<HTMLInputElement> = e => {
108108
radioGroupContext?.onChange && radioGroupContext.onChange(e)
109109
onChange && onChange(e)

0 commit comments

Comments
 (0)