Skip to content

Commit

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

Related PR: #1336

Co-authored-by: Josh Black <joshblack@github.com>
  • Loading branch information
allyjweir and joshblack authored Apr 21, 2023
1 parent b2a9ca4 commit ee33b02
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 ee33b02

Please sign in to comment.