@@ -9,12 +9,12 @@ import styles from './styles';
9
9
class TwoRowsAppBar extends PureComponent {
10
10
static propTypes = {
11
11
classes : PropTypes . shape ( { } ) ,
12
- topLeftContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
13
- topCenterContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
14
- topRightContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
15
- bottomLeftContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
16
- bottomCenterContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
17
- bottomRightContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( PropTypes . element ) ) ,
12
+ topLeftContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
13
+ topCenterContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
14
+ topRightContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
15
+ bottomLeftContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
16
+ bottomCenterContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
17
+ bottomRightContent : PropTypes . oneOf ( PropTypes . element , PropTypes . arrayOf ( [ PropTypes . element ] ) ) ,
18
18
} ;
19
19
20
20
static defaultProps = {
@@ -25,7 +25,7 @@ class TwoRowsAppBar extends PureComponent {
25
25
bottomLeftContent : null ,
26
26
bottomCenterContent : null ,
27
27
bottomRightContent : null ,
28
- }
28
+ } ;
29
29
30
30
render ( ) {
31
31
const {
0 commit comments