-
-
Couldn't load subscription status.
- Fork 32.7k
[SvgIcon] Rename nativeColor -> htmlColor #14863
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
[SvgIcon] Rename nativeColor -> htmlColor #14863
Conversation
| color="secondary" | ||
| rel="nofollow" | ||
| href="https://next.material-ui.com/" | ||
| href="https://next--material-ui.netlify.com/" |
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.
Handle #14679 (comment)
2fcc135 to
7bf49bc
Compare
| .replace(/[!@#\$%\^&\*\(\)=_\+\[\]{}`~;:'"\|,\.<>\/\?\s]+/g, '-') | ||
| .replace(/-+/g, '-') | ||
| .replace(/-$/g, ''), | ||
| .replace(/^-|-$/g, ''), |
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.
Details of bundle changes.Comparing: a74b020...7bf49bc
|
Breaking change
React solved the same problem with the
forHTML attribute, they have decided to call the prophtmlFor. This change follows the same reasoning: https://reactjs.org/docs/dom-elements.html#htmlfor.I have batched two small changes to the documentation as bonuses