-
-
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
[Docs] “Proxy” components don’t include proxied props in documentation #7981
Comments
I have forgotten to add |
Hold my beer™. |
Also, If you have a better wording in mind for the documentation, let us know! |
(Sorry for so many tentatives in getting the commit [namespace] right 😅 )
I believe having the list of props directly in place (along side the reference to the inherited component) would be easier to understand. |
It was simpler to implement this way. For anyone else looking into this issue, here is an example. |
Description
When looking at the documentation of a “Proxy” component (a component which “just” passes props to another one exploiting its functionalities) “inherited” proxied props are not listed.
Example
A clear example is
MenuItem
which looks like it doesn’t supports adisabled
prop, while actually it does (since it comes fromListItem
).The text was updated successfully, but these errors were encountered: