You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mariaefi29, as it has been merged on the next branch, it will be released in 3.10.0. As for the date of the release, we can't really say. Should be in a few weeks.
Is your feature request related to a problem? Please describe.
Sometimes applications are not required to have any users.
For that purpose I think it would be a great idea to pass
userMenu={false}
as a prop in a custom AppBar component.Describe the solution you'd like
It would be great to be able to create your own custom AppBar component very easy like this:
const MyAppBar = props => <AppBar {...props} userMenu={false} />;
Describe alternatives you've considered
Now there is an error if your are trying to pass false, because userMenu requires JSX.Element:
userMenu?: JSX.Element;
There is a workaround to pass icon={false} in a custom UserMenu component and you will not see the icon of the profile page.
However, the component is still there and clickable:
Are there any other alternatives that I probably haven't found?
The text was updated successfully, but these errors were encountered: