From 03e42972ba5b04c317e5906bdcc4e001900b0ec4 Mon Sep 17 00:00:00 2001 From: Alex Gentile Date: Sat, 24 Jun 2017 23:07:32 -0700 Subject: [PATCH] Update headerTitleStyle to extend TextStyle headerTitleStyle is a TextStyle, not a ViewStyle. --- types/react-navigation/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 829c897a6e..e64bfa26be 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -582,7 +582,7 @@ export interface StackNavigatorScreenOptions { headerRight?: React.ReactElement; headerLeft?: React.ReactElement; headerStyle?: ViewStyle; - headerTitleStyle?: ViewStyle; + headerTitleStyle?: TextStyle; headerTintColor?: string; headerPressColorAndroid?: string; gesturesEnabled?: boolean;