File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ HeaderBody.propTypes = {
164
164
} ) ) ,
165
165
outlineLink : PropTypes . string ,
166
166
searchButtonAction : PropTypes . func ,
167
- containerProps : Container . propTypes ,
167
+ containerProps : PropTypes . shape ( Container . propTypes ) ,
168
168
} ;
169
169
170
170
HeaderBody . defaultProps = {
@@ -184,6 +184,7 @@ HeaderBody.defaultProps = {
184
184
mainMenuDropdowns : [ ] ,
185
185
outlineLink : null ,
186
186
searchButtonAction : null ,
187
+ containerProps : { } ,
187
188
} ;
188
189
189
190
export default HeaderBody ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ StudioHeader.propTypes = {
54
54
number : PropTypes . string ,
55
55
org : PropTypes . string ,
56
56
title : PropTypes . string . isRequired ,
57
- containerProps : HeaderBody . propTypes . containerProps ,
57
+ containerProps : PropTypes . shape ( HeaderBody . propTypes . containerProps ) ,
58
58
isHiddenMainMenu : PropTypes . bool ,
59
59
mainMenuDropdowns : PropTypes . arrayOf ( PropTypes . shape ( {
60
60
id : PropTypes . string ,
@@ -71,6 +71,7 @@ StudioHeader.propTypes = {
71
71
StudioHeader . defaultProps = {
72
72
number : '' ,
73
73
org : '' ,
74
+ containerProps : { } ,
74
75
isHiddenMainMenu : false ,
75
76
mainMenuDropdowns : [ ] ,
76
77
outlineLink : null ,
You can’t perform that action at this time.
0 commit comments