Skip to content

Commit

Permalink
Merge pull request #5328 from ceracera/patch-1
Browse files Browse the repository at this point in the history
Fix theming docs UserMenu example
  • Loading branch information
djhi authored Sep 30, 2020
2 parents e76ed67 + 325f71c commit 2297dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ const MyUserMenu = props => (

const MyAppBar = props => <AppBar {...props} userMenu={<MyUserMenu />} />;

const MyLayout = props => <Layout {...props} appBar={<MyAppBar />} />;
const MyLayout = props => <Layout {...props} appBar={MyAppBar} />;
```

You can also customize the default icon by setting the `icon` prop to the `<UserMenu />` component.
Expand Down

0 comments on commit 2297dd6

Please sign in to comment.