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

Use the spread operator for properties #1910

Merged
merged 2 commits into from
Oct 20, 2015
Merged

Use the spread operator for properties #1910

merged 2 commits into from
Oct 20, 2015

Conversation

oliviertassinari
Copy link
Member

Pass unused properties to the root element as a default behavior.

@@ -171,7 +171,22 @@ const DropDownMenu = React.createClass({
},

render() {
let _this = this;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no needed anymore with the arrow function.

@shaurya947
Copy link
Contributor

This looks good @oliviertassinari. Feel free to merge

oliviertassinari added a commit that referenced this pull request Oct 20, 2015
Use the spread operator for properties
@oliviertassinari oliviertassinari merged commit 294071f into mui:master Oct 20, 2015
@oliviertassinari oliviertassinari deleted the spread-properties branch October 26, 2015 22:36
@zannager zannager added the component: menu This is the name of the generic UI component, not the React module! label Mar 16, 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.

3 participants