We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b93ae commit 0697f97Copy full SHA for 0697f97
index.js
@@ -5,6 +5,7 @@ import React, {
5
View,
6
Platform,
7
PropTypes,
8
+ Text,
9
} from 'react-native';
10
import { EventEmitter } from 'fbemitter';
11
@@ -18,12 +19,13 @@ const propTypes = {
18
19
borderColor: PropTypes.string,
20
customAction: PropTypes.func,
21
firstRoute: PropTypes.object.isRequired,
- headerStyle: PropTypes.any.isRequired,
22
+ handleBackAndroid: PropTypes.bool,
23
+ headerStyle: View.propTypes.style,
24
hideNavigationBar: PropTypes.bool,
25
noStatusBar: PropTypes.bool,
26
rightCorner: PropTypes.func,
27
statusBarColor: PropTypes.string,
- titleStyle: PropTypes.any.isRequired,
28
+ titleStyle: Text.propTypes.style,
29
};
30
31
class Router extends React.Component {
0 commit comments