Skip to content
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

Merged
merged 10 commits into from
Jun 10, 2017
Merged

Issue #661 #662

merged 10 commits into from
Jun 10, 2017

Conversation

IanCStewart
Copy link
Contributor

issue #661

@IanCStewart IanCStewart requested a review from sjaakluthart June 9, 2017 14:45
@@ -17,11 +30,30 @@ const Menu = ({ children, open, header, toggleMenu, style, headerStyle, ...custo
)
));

if (sidebar || !toggleMenu) {
Copy link
Contributor

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.

Copy link
Contributor

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?

@sjaakluthart
Copy link
Contributor

I've added random icons to the menu!

amaze_ballz

@sjaakluthart sjaakluthart merged commit d63b87f into develop Jun 10, 2017
@sjaakluthart sjaakluthart deleted the issue-#661 branch June 10, 2017 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants