responsive-ant-menu icon indicating copy to clipboard operation
responsive-ant-menu copied to clipboard

feat: add `popoverProps` for customization need

Open lamualfa opened this issue 3 years ago • 2 comments

feat: Add popoverProps for customization needs

This PR adds the popoverProps prop to the ResponsiveAntMenu component, allowing for further customization of the Popover component used in the menu. This prop accepts an object and spreads it onto the Popover component, providing flexibility for various customization needs.

Generated using OpenSauced.

lamualfa avatar Jul 12 '21 18:07 lamualfa

For some reason like removing the Popover padding, we need passing overlayStyle to Popover component. See https://github.com/ant-design/ant-design/issues/11364#issuecomment-406259860.

Example

Ant Design Website doesn't have padding in their Popover Navigation:

image

lamualfa avatar Jul 15 '21 08:07 lamualfa

Thanks for the feature request and PR! Ill look into it soon.

itskemo avatar Jul 15 '21 08:07 itskemo