How to create material-ui dialog box with transparent background color and change its height?

前端 未结 6 1335
北恋
北恋 2021-02-14 11:04

I\'m trying to create a loading status indicator using material ui. But I want the background color of dialogue box as none and also want to adjust the height. But

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-14 11:19

    You can set the overlayStyle prop on Dialog to change the background color, like so:

     
    

提交回复
热议问题