[Docs] Menu components miss some props
See original GitHub issueBug report
Describe the bug
- props
icon
andiconSpacing
are missing in the docs - other
MenuItem
components should have their props checked whether they allow those props too (e.g.MenuItemOptionProps
do and aren’t mentioned either in the docs)
Expected behavior
Props are properly documented.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[docs] `selected` prop is missing for MenuItem and its parents
Looks like when we move the inheritance from ListItem to ButtonBase , we didn't update the props not not ignore the ones coming...
Read more >Menu API - Material UI - MUI
Name Type Default
open * bool false
anchorEl HTML element | func
autoFocus bool true
Read more >Work with Components and Props - Twilio Flex
The full list of programmable components, with details of their properties can be found in the Flex UI API Docs. Directly reusing components...
Read more >Material UI Menu using routes - reactjs - Stack Overflow
Anyone can point me to a good source / tutorial? The documentation falls short, and both components seem not to support 'menuItems' as...
Read more >Useful Patterns by Use Case - React TypeScript Cheatsheets
Forwarding Refs: As the React docs themselves note, most usecases will not need to obtain a ref ... Strategy: extract a component's props...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am about to complete this.
@ljosberinn You can assign this to me, I will update the docs over the weekend.