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

[IconButton] Warn when providing onClick to a child of a button #14160

Merged
merged 2 commits into from Jan 13, 2019

Conversation

oliviertassinari
Copy link
Member

Help with #13957.

@oliviertassinari oliviertassinari added new feature New feature or request component: icon button This is the name of the generic UI component, not the React module! labels Jan 12, 2019
packages/material-ui/src/IconButton/IconButton.js Outdated Show resolved Hide resolved
packages/material-ui/src/IconButton/IconButton.js Outdated Show resolved Hide resolved
packages/material-ui/src/IconButton/IconButton.js Outdated Show resolved Hide resolved
@oliviertassinari oliviertassinari force-pushed the button-warn-firefox branch 2 times, most recently from a3ed62d to a358462 Compare January 12, 2019 10:59
@oliviertassinari oliviertassinari dismissed eps1lon’s stale review January 12, 2019 10:59

Haha, you have reviewed too quickly, the pull-request wasn't green yet. thank you.

package.json Outdated Show resolved Hide resolved
@oliviertassinari oliviertassinari force-pushed the button-warn-firefox branch 2 times, most recently from a21d590 to 9428615 Compare January 12, 2019 11:21
@oliviertassinari
Copy link
Member Author

@eps1lon It's ready for review :).

packages/material-ui/src/IconButton/IconButton.test.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@@ -20,36 +20,36 @@
},
"homepage": "https://material-ui.com/",
"scripts": {
"start": "yarn docs:dev",
Copy link
Member Author

Choose a reason for hiding this comment

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

alphabetical sort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: icon button This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants