File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ HeaderBody.propTypes = {
164164 } ) ) ,
165165 outlineLink : PropTypes . string ,
166166 searchButtonAction : PropTypes . func ,
167- containerProps : Container . propTypes ,
167+ containerProps : PropTypes . shape ( Container . propTypes ) ,
168168} ;
169169
170170HeaderBody . defaultProps = {
@@ -184,6 +184,7 @@ HeaderBody.defaultProps = {
184184 mainMenuDropdowns : [ ] ,
185185 outlineLink : null ,
186186 searchButtonAction : null ,
187+ containerProps : { } ,
187188} ;
188189
189190export default HeaderBody ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ StudioHeader.propTypes = {
5454 number : PropTypes . string ,
5555 org : PropTypes . string ,
5656 title : PropTypes . string . isRequired ,
57- containerProps : HeaderBody . propTypes . containerProps ,
57+ containerProps : PropTypes . shape ( HeaderBody . propTypes . containerProps ) ,
5858 isHiddenMainMenu : PropTypes . bool ,
5959 mainMenuDropdowns : PropTypes . arrayOf ( PropTypes . shape ( {
6060 id : PropTypes . string ,
@@ -71,6 +71,7 @@ StudioHeader.propTypes = {
7171StudioHeader . defaultProps = {
7272 number : '' ,
7373 org : '' ,
74+ containerProps : { } ,
7475 isHiddenMainMenu : false ,
7576 mainMenuDropdowns : [ ] ,
7677 outlineLink : null ,
You can’t perform that action at this time.
0 commit comments