-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Add to migration doc about ref type specificity #30114
Conversation
30d03cf
to
9aef06d
Compare
a37c4ff
to
f4ec5f6
Compare
|
||
##### `@mui/material` | ||
|
||
- [Accordion](/components/accordion) |
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.
Let's list next to each component what type of element it expects, for example HTMLLIElement
or HTMLDivElement
etc.
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.
👌 thanks Benny
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.
👍 Good one.
|
||
The list of components that expect a specific element type is as follows: | ||
|
||
##### `@mui/material` |
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.
The heading level is wrong, the previous one is h3, this one h5
##### `@mui/material` | |
#### `@mui/material` |
Closes #27993