From d4cb322ef030bb4bbf379a4a962fc39659779297 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Thu, 14 Nov 2024 07:50:08 -0800 Subject: [PATCH] chore(Spinner): Move Spinner component from team to staff flag (#5286) * Move Spinner flag to staff * Create chilled-goats-visit.md --- .changeset/chilled-goats-visit.md | 5 +++++ packages/react/src/Spinner/Spinner.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chilled-goats-visit.md diff --git a/.changeset/chilled-goats-visit.md b/.changeset/chilled-goats-visit.md new file mode 100644 index 00000000000..442afc551c7 --- /dev/null +++ b/.changeset/chilled-goats-visit.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Spinner component from team to staff flag diff --git a/packages/react/src/Spinner/Spinner.tsx b/packages/react/src/Spinner/Spinner.tsx index 6d022133aff..e83e647886f 100644 --- a/packages/react/src/Spinner/Spinner.tsx +++ b/packages/react/src/Spinner/Spinner.tsx @@ -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