Material ui 如何在材质UI上居中显示对话框标题?
如何在对话框(材质UI)上居中显示标题? Mi代码Material ui 如何在材质UI上居中显示对话框标题?,material-ui,Material Ui,如何在对话框(材质UI)上居中显示标题? Mi代码 对话框boby..asdasdasd 这对我来说很有用: <Dialog titleStyle={{textAlign: "center"}} ... /> u只需使用对话框标题组件并在其中添加排版组件即可 <DialogTitle> <Typography variant="h3" align="center">Centered Title&l
对话框boby..asdasdasd
这对我来说很有用:
<Dialog
titleStyle={{textAlign: "center"}}
... />
u只需使用对话框标题组件并在其中添加排版组件即可
<DialogTitle>
<Typography variant="h3" align="center">Centered Title</Typography>
</DialogTitle>
居中标题
希望这有帮助:)那么你是怎么把它放在中心的呢?我相信这已经不起作用了。
<DialogTitle>
<Typography variant="h3" align="center">Centered Title</Typography>
</DialogTitle>