Skip to content

Commit

Permalink
Doc fix - customize login and logout component
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarbakhtar committed May 28, 2019
1 parent 2116fcc commit d564782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ const MyLogoutButton = ({ userLogout, ...rest }) => (
xsmall={
<MenuItem
onClick={userLogout}
{...sanitizeRestProps(rest)}
{...rest}
>
<ExitIcon /> Logout
</MenuItem>
Expand All @@ -296,7 +296,7 @@ const MyLogoutButton = ({ userLogout, ...rest }) => (
<Button
onClick={userLogout}
size="small"
{...sanitizeRestProps(rest)}
{...rest}
>
<ExitIcon /> Logout
</Button>
Expand Down

0 comments on commit d564782

Please sign in to comment.