:material-ui에서 대화 상자 높이를 어떻게 설정할 수 있습니까?
const customContentStyle = {
width: '100%',
maxWidth: 'none',
};
// some omitted code
<Dialog
title="Dialog With Custom Width"
actions={actions}
modal={true}
contentStyle={customContentStyle}
open={this.state.open}
>
This dialog spans the entire width of the screen.
</Dialog>
내가이 maxWidth
무시했기 때문에 나는 사용자 정의 높이를 설정할 수있어 것을 알고는, 그러나 내가 완 대화 상자의 높이를 조절할 수 있도록 높이와 같은 것을 할 수 있어야합니다. maxHeight
을 none으로 설정하고 height
을 설정해 보았습니다.하지만 운이 없었습니다.