mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
Add gestureResponseDistance to navigation options
This commit is contained in:
1
types/react-navigation/index.d.ts
vendored
1
types/react-navigation/index.d.ts
vendored
@@ -273,6 +273,7 @@ export type NavigationStackScreenOptions = NavigationScreenOptions & {
|
||||
headerRight?: React.ReactElement<any>;
|
||||
headerStyle?: StyleProp<ViewStyle>;
|
||||
gesturesEnabled?: boolean;
|
||||
gestureResponseDistance?: { vertical?: number; horizontal?: number };
|
||||
};
|
||||
|
||||
export interface NavigationStackRouterConfig {
|
||||
|
||||
Reference in New Issue
Block a user