mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-27 21:08:02 +08:00
fix: set proper type for screenProps in ScreenComponent
This commit is contained in:
@@ -143,7 +143,8 @@ export type NavigationStackScreenComponent<
|
||||
> = React.ComponentType<NavigationStackScreenProps<Params, ScreenProps>> & {
|
||||
navigationOptions?: NavigationScreenConfig<
|
||||
NavigationStackOptions,
|
||||
NavigationStackProp<NavigationRoute, Params>
|
||||
NavigationStackProp<NavigationRoute, Params>,
|
||||
ScreenProps
|
||||
>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user