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 29e95c5 commit 1880c84Copy full SHA for 1880c84
src/components/Navigation.ts
@@ -22,7 +22,7 @@ export interface NavigationOptions {
22
headerTruncatedBackTitle?: string;
23
headerBackTitleStyle?: TextStyle;
24
headerPressColorAndroid?: string;
25
- headerRight?: React.ReactElement<any> | null;
+ headerRight?: React.ReactElement<any> | ((props: any) => React.ReactElement<any>) | null;
26
headerStyle?: ViewStyle;
27
headerForceInset?: any /*HeaderForceInset*/;
28
headerBackground?: React.ReactElement<any> | renderFunction<any /*HeaderProps*/> | null;
0 commit comments