Skip to content

Commit

Permalink
Update Header.mdx
Browse files Browse the repository at this point in the history
Remove deprecated use of `mr` system prop, instead using `sx`.

Related PR: primer#1336
  • Loading branch information
allyjweir committed Apr 20, 2023
1 parent 14c00e7 commit a7b6aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/Header.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All items directly under the Header component should be a `Header.Item` componen
</Header.Link>
</Header.Item>
<Header.Item full>Menu</Header.Item>
<Header.Item mr={0}>
<Header.Item sx={{mr: 0}}>
<Avatar src="https://github.com/octocat.png" size={20} square alt="@octocat" />
</Header.Item>
</Header>
Expand All @@ -37,7 +37,7 @@ All items directly under the Header component should be a `Header.Item` componen
<Header.Item full border={1} borderStyle="solid">
Item 2
</Header.Item>
<Header.Item mr={0}>Item 3</Header.Item>
<Header.Item sx={{mr: 0}}>Item 3</Header.Item>
</Header>
```

Expand Down

0 comments on commit a7b6aab

Please sign in to comment.