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

Toggle props can be passed into menu items. #299

Merged
merged 1 commit into from Feb 3, 2015

Conversation

mmrtnz
Copy link
Contributor

@mmrtnz mmrtnz commented Feb 3, 2015

Fixes #291 which allows toggle properties to be passed into menu-items when creating menus. An example of this has been included in the docs.

@mmrtnz
Copy link
Contributor Author

mmrtnz commented Feb 3, 2015

This is due to added spread functionality in src/menu.jsx and src/menu-item.jsx

hai-cea added a commit that referenced this pull request Feb 3, 2015
Toggle props can be passed into menu items. Fixes #291
@hai-cea hai-cea merged commit 386e560 into mui:master Feb 3, 2015
@mmrtnz mmrtnz deleted the menu-item-spread-functionality branch February 3, 2015 00:17
brianfeister pushed a commit to brianfeister/material-ui that referenced this pull request May 1, 2017
@zannager zannager added the component: menu This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Allow user to set Menu Item Toggle defaultToggled value
3 participants