Home > Mobile >  How to change the background color of MUI Menu Popover of TextField with select property?
How to change the background color of MUI Menu Popover of TextField with select property?

Time:10-17

I want to achieve that the popover respectively the menu of a TextField with 'select' property changes the background color. I followed the instructions of Codesandbox Demo

CodePudding user response:

Use classes or emotion styled instead of makeStyles

Menu Docs MenuItem Docs

Classes:

<MenuItem
    classes={{...}}
>
    ...
</MenuItem>
  • Related