Skip to content

Commit

Permalink
chore(ButtonGroup): Move ButtonGroup css module feature flag to staff (
Browse files Browse the repository at this point in the history
…#5144)

* Move ButtonGroup css module feature flag to staff

* Create thirty-worms-accept.md
  • Loading branch information
jonrohan authored Nov 5, 2024
1 parent 49cbff2 commit 271d063
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-worms-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move ButtonGroup css module feature flag to staff
4 changes: 2 additions & 2 deletions packages/react/src/ButtonGroup/ButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {clsx} from 'clsx'
import {useFeatureFlag} from '../FeatureFlags'

const StyledButtonGroup = toggleStyledComponent(
'primer_react_css_modules_team',
'primer_react_css_modules_staff',
'div',
styled.div`
display: inline-flex;
Expand Down Expand Up @@ -78,7 +78,7 @@ const ButtonGroup = React.forwardRef<HTMLElement, ButtonGroupProps>(function But
{children, className, ...rest},
forwardRef,
) {
const enabled = useFeatureFlag('primer_react_css_modules_team')
const enabled = useFeatureFlag('primer_react_css_modules_staff')
return (
<StyledButtonGroup
ref={forwardRef}
Expand Down

0 comments on commit 271d063

Please sign in to comment.