question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Docs] Menu components miss some props

See original GitHub issue

Bug report

Describe the bug

  • props icon and iconSpacing 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:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
navin-moorthycommented, Oct 21, 2020

I am about to complete this.

1reaction
navin-moorthycommented, Oct 16, 2020

@ljosberinn You can assign this to me, I will update the docs over the weekend.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found