Material UI change opacity of background when Drawer is open

Viewed 834

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.

1 Answers

This will solve your problem:

        <Drawer BackdropProps={{style:{backgroundColor:"red", opacity:2}}}>
        </Drawer
Related