-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui][Button] Add target attribute to types #41458
[material-ui][Button] Add target attribute to types #41458
Conversation
Netlify deploy previewhttps://deploy-preview-41458--material-ui.netlify.app/ Bundle size report |
…ror-loadingbutton-target-prop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KumarNitin19 I've tweaked the tests a bit, thanks for working on this!
…ror-loadingbutton-target-prop
@mj12albert Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the fix here is wrong. The Material UI Button
component extends from ButtonBase
, which already inherits from native HTML button
or a
elements. And the a
anchor element inherently include the target
property.
@ZeeshanTamboli Yes you're right, I think It's a problem with component prop type. |
Since this PR is inactive, I am closing it. |
Fixes #41452