@@ -34,10 +34,12 @@ export default function FullscreenDialog (props, { muiTheme }) {
34
34
35
35
const {
36
36
actionButton,
37
+ appBarClassName,
37
38
appBarStyle,
38
39
appBarZDepth,
39
40
children,
40
41
closeIcon,
42
+ containerClassName,
41
43
containerStyle,
42
44
immersive,
43
45
onRequestClose,
@@ -53,6 +55,7 @@ export default function FullscreenDialog (props, { muiTheme }) {
53
55
style = { { ...style , ...styles . root } }
54
56
>
55
57
< AppBar
58
+ className = { appBarClassName }
56
59
title = { title }
57
60
titleStyle = { titleStyle }
58
61
style = { { ...styles . appBar , ...appBarStyle } }
@@ -65,7 +68,10 @@ export default function FullscreenDialog (props, { muiTheme }) {
65
68
showMenuIconButton = { onRequestClose != null }
66
69
zDepth = { immersive ? 0 : appBarZDepth }
67
70
/>
68
- < div style = { { ...styles . container , ...containerStyle } } >
71
+ < div
72
+ className = { containerClassName }
73
+ style = { { ...styles . container , ...containerStyle } }
74
+ >
69
75
{ children }
70
76
</ div >
71
77
</ FullscreenDialogFrame >
@@ -77,6 +83,10 @@ FullscreenDialog.propTypes = {
77
83
* A `FlatButton` or `IconButton` that is used as affirmative action button.
78
84
*/
79
85
actionButton : PropTypes . node ,
86
+ /**
87
+ * Set the CSS classes of the app bar.
88
+ */
89
+ appBarClassName : PropTypes . string ,
80
90
/**
81
91
* Overrides the inline-styles of the app bar.
82
92
*/
@@ -93,6 +103,10 @@ FullscreenDialog.propTypes = {
93
103
* Icon element used for the dismissive action. This is hidden if `onRequestClose` is not set.
94
104
*/
95
105
closeIcon : PropTypes . node ,
106
+ /**
107
+ * Set the CSS classes of the dialog's children container.
108
+ */
109
+ containerClassName : PropTypes . string ,
96
110
/**
97
111
* Overrides the inline-styles of the dialog's children container.
98
112
*/
0 commit comments