make overflow menu background to over paper

This commit is contained in:
Abhinav 2022-09-03 18:54:41 +05:30
parent ea2d142d60
commit 1e43359414

View file

@ -12,6 +12,12 @@ interface Iprops {
export default function MappingEntryOptions({ confirmStopWatching }: Iprops) { export default function MappingEntryOptions({ confirmStopWatching }: Iprops) {
return ( return (
<OverflowMenu <OverflowMenu
menuPaperProps={{
sx: {
backgroundColor: (theme) =>
theme.palette.background.overPaper,
},
}}
ariaControls={'watch-mapping-option'} ariaControls={'watch-mapping-option'}
triggerButtonIcon={<MoreHorizIcon />}> triggerButtonIcon={<MoreHorizIcon />}>
<OverflowMenuOption <OverflowMenuOption