From b424d28ab14b2d54b52e7cc7aaeca34cd1dacc11 Mon Sep 17 00:00:00 2001 From: Chris Fisher Date: Wed, 26 Oct 2016 03:58:26 +1300 Subject: [PATCH] Update react-native.d.ts (#12050) * Update react-native.d.ts Added additional props to NavigationHeaderProps. * Update react-native.d.ts Fixed indentation. * Added more NavigationHeaderProps. Also updated type for NavigationHeaderStatic.Title. --- react-native/react-native.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/react-native/react-native.d.ts b/react-native/react-native.d.ts index f215fd3c8b..4cc5d47449 100644 --- a/react-native/react-native.d.ts +++ b/react-native/react-native.d.ts @@ -7502,11 +7502,16 @@ declare namespace __React { export interface NavigationHeaderProps { renderTitleComponent?(props: Object): JSX.Element + renderLeftComponent?(props: Object): JSX.Element + renderRightComponent?(props: Object): JSX.Element onNavigateBack(): void + style?: ViewStyle + viewProps?: any + statusBarHeight?: number | NavigationAnimatedValue } export interface NavigationHeaderStatic extends React.ComponentClass { - Title: JSX.Element + Title: () => JSX.ElementClass HEIGHT: number }