Skip to content

Commit

Permalink
chore(Checkbox): Move Checkbox css module feature flag to staff (#5146)
Browse files Browse the repository at this point in the history
* Move Checkbox css module feature flag to staff

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

Move Checkbox css module feature flag to staff
2 changes: 1 addition & 1 deletion packages/react/src/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(
},
ref,
): ReactElement => {
const enabled = useFeatureFlag('primer_react_css_modules_team')
const enabled = useFeatureFlag('primer_react_css_modules_staff')
const checkboxRef = useProvidedRefOrCreate(ref as React.RefObject<HTMLInputElement>)
const checkboxGroupContext = useContext(CheckboxGroupContext)
const handleOnChange: ChangeEventHandler<HTMLInputElement> = e => {
Expand Down

0 comments on commit ad554da

Please sign in to comment.