-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow hiding the navigation bar and toggle button #4229
Comments
As far as I can see, we could approach this in two different ways:
any other ideas? |
This should be straight forward. I can work on this and raise a PR too. I wanted to know other than the changes in the core package, test cases and docs update for the new prop, is there a need for example too? |
This makes sense to me from a long-term reusability perspective - separating the drawer and appBar into separate slots which can be overriden |
We've talked about separating the components that make up the layout and exporting them, including the header and the sidebar. I guess that might also work?
If we go for that solution I guess that should be enough, and as an example just maybe a small demo and paragraph in the docs. |
On second thought the |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @vikasgurjar How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Summary
Allow hiding the navigation bar and toggle button in case we just want to show the header
Examples
No response
Motivation
In my app I want to use toolpad to handle navigation and header after a user logs in. But I have a case where user needs to wait before they are verified to see other pages, and on that page I just need the header.
I guess I can use the AppBar component from MUI but that would require me to handle
account
flow separately.Search keywords: hide navigation
The text was updated successfully, but these errors were encountered: