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

optional content in left nav #485

Closed
wants to merge 1 commit into from

Conversation

johnedvard
Copy link

It is now able to add your own react elements into the left-nav.

PS: This is my first pull request ever, so I am not sure if I am doing it correctly.

I also want to say that I am using the left-nav in my own project, and I am using it for something else than a navigation menu. I found that the current solution is a good for adding my own elements into the left-nav. Maybe it is useful for others as well.

Image of OptionalContent

(an example can be seen in the image, where "This is a test" is added as optional content in the left-nav)

@jkruder
Copy link
Contributor

jkruder commented Mar 31, 2015

This looks like a duplicate of #383.

@johnedvard
Copy link
Author

I did not see that one. It sure looks similar, thank you for the notice.

@mmrtnz
Copy link
Contributor

mmrtnz commented Apr 1, 2015

@johnedvard everything was done correctly. Your pull request looks great! As @hai-cea mentions in #383, list-related components will be revamped after our css-refactoring is complete, and this is definitely a change we plan to include.

This pull request will be closed because it is a duplicate of #383. However, I encourage you to continue submitting new pull requests when you feel they are needed. We are very open to contributions and suggestions! I'm looking forward to seeing what changes you will bring to material-ui :)

@mmrtnz mmrtnz closed this Apr 1, 2015
@zannager zannager added component: bottom navigation This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module! labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: bottom navigation This is the name of the generic UI component, not the React module! component: menu This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants