mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Fixed headerLeft and headerRight props (#26881)
* Update index.d.ts Fixed headerLeft and headerRight types * Update index.d.ts
This commit is contained in:
committed by
Mohamed Hegazy
parent
96b2b69caa
commit
eb868d6677
Vendored
+7
-5
@@ -395,22 +395,24 @@ export interface NavigationSwitchRouterConfig {
|
||||
export interface NavigationStackScreenOptions {
|
||||
title?: string;
|
||||
header?:
|
||||
| (
|
||||
| React.ReactElement<any>
|
||||
| ((headerProps: HeaderProps) => React.ReactElement<any>))
|
||||
| React.ReactElement<any>
|
||||
| ((headerProps: HeaderProps) => React.ReactElement<any>)
|
||||
| null;
|
||||
headerTransparent?: boolean;
|
||||
headerTitle?: string | React.ReactElement<any>;
|
||||
headerTitleStyle?: StyleProp<TextStyle>;
|
||||
headerTitleAllowFontScaling?: boolean;
|
||||
headerTintColor?: string;
|
||||
headerLeft?: React.ReactElement<any>;
|
||||
headerLeft?:
|
||||
| React.ReactElement<any>
|
||||
| ((backButtonProps: HeaderBackButtonProps) => React.ReactElement<any>)
|
||||
| null;
|
||||
headerBackTitle?: string | null;
|
||||
headerBackImage?: React.ReactElement<any>;
|
||||
headerTruncatedBackTitle?: string;
|
||||
headerBackTitleStyle?: StyleProp<TextStyle>;
|
||||
headerPressColorAndroid?: string;
|
||||
headerRight?: React.ReactElement<any>;
|
||||
headerRight?: React.ReactElement<any> | null;
|
||||
headerStyle?: StyleProp<ViewStyle>;
|
||||
headerForceInset?: HeaderForceInset;
|
||||
headerBackground?: React.ReactNode | React.ReactType;
|
||||
|
||||
Reference in New Issue
Block a user