Skip to content

Commit 5b292f9

Browse files
committed
Fix NavBarContainer PropTypes
1 parent e133e70 commit 5b292f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/NavBarContainer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { StyleSheet, View, PropTypes, Platform, BackAndroid } from 'react-native';
1+
import React, { StyleSheet, View, PropTypes, Platform, BackAndroid, Text } from 'react-native';
22

33
import NavBarContent from './NavBarContent';
44
import * as Styles from '../styles';
@@ -14,9 +14,9 @@ const propTypes = {
1414
navigator: PropTypes.object.isRequired,
1515
rightCorner: PropTypes.func,
1616
rightProps: PropTypes.object,
17-
style: PropTypes.any.isRequired,
17+
style: View.propTypes.style,
1818
titleProps: PropTypes.object,
19-
titleStyle: PropTypes.any.isRequired,
19+
titleStyle: Text.propTypes.style,
2020
toBack: PropTypes.func.isRequired,
2121
toRoute: PropTypes.func.isRequired,
2222
};

0 commit comments

Comments
 (0)