Skip to content

Commit

Permalink
chore(BranchName): Move BranchName component css module feature flag …
Browse files Browse the repository at this point in the history
…to ga (#5381)

* Move BranchName to ga

* Create famous-laws-confess.md
  • Loading branch information
jonrohan authored Dec 12, 2024
1 parent 67fc8f5 commit 18692e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-laws-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move BranchName component css module feature flag to ga
2 changes: 1 addition & 1 deletion packages/react/src/BranchName/BranchName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type BranchNameProps<As extends React.ElementType> = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function BranchName<As extends React.ElementType>(props: BranchNameProps<As>, ref: ForwardedRef<any>) {
const {as: BaseComponent = 'a', className, children, sx, ...rest} = props
const enabled = useFeatureFlag('primer_react_css_modules_staff')
const enabled = useFeatureFlag('primer_react_css_modules_ga')

if (enabled) {
if (sx) {
Expand Down

0 comments on commit 18692e5

Please sign in to comment.