[IconMenu] add a popoverStyle property #4739
Labels
component: menu
This is the name of the generic UI component, not the React module!
component: Popover
The React component.
package: icons
Specific to @mui/icons
Firstly, code here:
The children of
<IconMenu>
was wrapped inPopoverDefaultAnimation > Paper > div > div > div
.As the screenshot, I want to set the
top
attribute instyle
ofPopoverDefaultAnimation > Paper > div
, and the source code's here: https://github.com/jareddellitt/material-ui/blob/b59a89a8d737ab3e2e8f2d91380144dcc6efca13/src/Popover/PopoverAnimationDefault.js#L96.I found it's no way to set props of this, so that I can't customize the style.
Is there any workaround? And is there a plan to support it?
The text was updated successfully, but these errors were encountered: