I would like to know how to set another background color and change the opacity of the background when the Material UI drawer is opened. I didn't find something about this in the docs. I'm using React and TS.
I would like to know how to set another background color and change the opacity of the background when the Material UI drawer is opened. I didn't find something about this in the docs. I'm using React and TS.
This will solve your problem:
<Drawer BackdropProps={{style:{backgroundColor:"red", opacity:2}}}>
</Drawer