[IconMenu] Add ability to style underlying List inside of Menu.
See original GitHub issueCurrently there is no way to style the underlying list when using IconMenu. This change would enable passing a listStyle object similar to how Menu already allows for and just pass the listStyles down to the Menu object.
const listStyles = { paddingTop: 0, paddingBottom: 0 };
<IconMenu listStyle={listStyles} menuStyle={...}>
<MenuItem .../>
</IconMenu>
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
[IconMenu] Add ability to style underlying List inside of Menu.
Currently there is no way to style the underlying list when using IconMenu. This change would enable passing a listStyle object similar to ......
Read more >Icon menu list widget - Product Documentation | ServiceNow
A simple list with a glyph icon next to each link. You can use this base system ... Parent menu Item, Nest menu...
Read more >Menus - Android Developers
Tip: Android 3.0 adds the ability for you to define the on-click behavior for a menu item in XML, using the android:onClick attribute....
Read more >React Menu component - Material UI - MUI
Menus display a list of choices on temporary surfaces. A menu displays a list of choices on a temporary surface. It appears when...
Read more >How to Add Image Icons With Navigation Menus in WordPress
Ever wanted to add images to your navigation menu items in WordPress? Learn how to add image icones with navigation menus in WordPress....
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 Free
Top 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
Using
MenuListProps
should work.I had a lot of trouble trying to remove the
padding: 8px 0
as css classes couldn’t reach the div and themenuStyle
,lineSyle
props didn’t work either. However wrapping my listing content in a disabled menuItem and setting some negative margins works pretty good.