Skip to content

Commit

Permalink
chore(Spinner): Move Spinner component from team to staff flag (#5286)
Browse files Browse the repository at this point in the history
* Move Spinner flag to staff

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

Move Spinner component from team to staff flag
2 changes: 1 addition & 1 deletion packages/react/src/Spinner/Spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const StyledBaseSpinner = styled.div`
`

function StyledSpinner({sx, className, ...props}: SpinnerProps) {
const enabled = useFeatureFlag('primer_react_css_modules_team')
const enabled = useFeatureFlag('primer_react_css_modules_staff')
if (enabled) {
if (sx) {
return <StyledBaseSpinner sx={sx} as={Spinner} className={clsx(className, classes.SpinnerAnimation)} {...props} />
Expand Down

0 comments on commit d4cb322

Please sign in to comment.