Update headerTitleStyle to extend TextStyle

headerTitleStyle is a TextStyle, not a ViewStyle.
This commit is contained in:
Alex Gentile
2017-06-24 23:07:32 -07:00
committed by GitHub
parent ef795c7ceb
commit 03e42972ba
+1 -1
View File
@@ -582,7 +582,7 @@ export interface StackNavigatorScreenOptions {
headerRight?: React.ReactElement<any>;
headerLeft?: React.ReactElement<any>;
headerStyle?: ViewStyle;
headerTitleStyle?: ViewStyle;
headerTitleStyle?: TextStyle;
headerTintColor?: string;
headerPressColorAndroid?: string;
gesturesEnabled?: boolean;