diff --git a/packages/stack/src/types.tsx b/packages/stack/src/types.tsx index c2f3c87d..62f79c66 100644 --- a/packages/stack/src/types.tsx +++ b/packages/stack/src/types.tsx @@ -63,13 +63,13 @@ export type HeaderScene = { export type HeaderOptions = { headerTitle?: string; headerTitleStyle?: StyleProp; + headerTitleContainerStyle?: StyleProp; headerTintColor?: string; headerTitleAllowFontScaling?: boolean; headerBackAllowFontScaling?: boolean; headerBackTitle?: string; headerBackTitleStyle?: StyleProp; headerTruncatedBackTitle?: string; - headerTitleContainerStyle?: StyleProp; headerLeft?: (props: HeaderBackButtonProps) => React.ReactNode; headerLeftContainerStyle?: StyleProp; headerRight?: () => React.ReactNode; @@ -117,7 +117,7 @@ export type SceneDescriptor = { export type HeaderBackButtonProps = { disabled?: boolean; - onPress?: () => void; + onPress: () => void; pressColorAndroid?: string; backImage?: (props: { tintColor: string }) => React.ReactNode; tintColor?: string;