我在我的React应用程序中使用了
material-ui version 3.9.3
。我想在对话框上添加背景图像。我正在使用Dialog
组件,但无法在整个对话框上添加背景图像。
例如:
<Dialog
fullScreen={fullScreen}
open={this.props.open}
onClose={this.handleClose}
aria-labelledby='responsive-dialog-title'
>
<DialogTitle
id='customized-dialog-title'
onClose={this.handleClose}
noCloseButtonNeeded={noCloseButtonNeeded}
>
{/* some jsx */}
</DialogTitle>
<DialogContent>
{children}
</DialogContent>
</Dialog>
我尝试使用类和自定义CSS添加图像,但是我无法实现。有人可以帮助我添加吗?谢谢您的帮助 :)