Skip to content

Commit

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

* Create honest-plums-approve.md
  • Loading branch information
jonrohan authored Nov 14, 2024
1 parent 7c94916 commit 8853f5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-plums-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Move Header component from team to staff flag
2 changes: 1 addition & 1 deletion packages/react/src/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type StyledHeaderProps = React.ComponentProps<'header'> & SxProp
type StyledHeaderItemProps = React.ComponentProps<'div'> & SxProp & {full?: boolean}
type StyledHeaderLinkProps = React.ComponentProps<'a'> & SxProp & {to?: Location | Pathname}

const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_team'
const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff'

const StyledHeader = toggleStyledComponent(
CSS_MODULES_FEATURE_FLAG,
Expand Down

0 comments on commit 8853f5f

Please sign in to comment.