我似乎无法将此图标移动到我设置的网格项的右侧,而 justify='flex-end' 似乎没有任何帮助?
<Dialog open={props.open} onClose={props.close} aria-labelledby="form-dialog-title">
<Grid container xs={12} alignItems='center' >
<Grid item xs={6} >
<DialogTitle>Certification</DialogTitle>
</Grid>
<Grid item xs={6} justify='flex-end'>
<CloseIcon onClick={props.close} />
</Grid>
</Grid>