-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue #661 #662
Issue #661 #662
Conversation
src/menu/index.jsx
Outdated
@@ -17,11 +30,30 @@ const Menu = ({ children, open, header, toggleMenu, style, headerStyle, ...custo | |||
) | |||
)); | |||
|
|||
if (sidebar || !toggleMenu) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this check the sidebar prop is redundant, remove it. Change to documentation for toggleMenu to something like this Toggle the Menu's visibility, Menu will render as a sidebar if this prop is not supplied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also change the Nav in docs to use the sidebar Menu?
issue #661