Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3520603
D5399.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D5399.diff
View Options
diff --git a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js
@@ -956,6 +956,10 @@
+navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
+ +getId?: ({
+ +params: $ElementType<ParamList, RouteName>,
+ }) => string | void,
+ +navigationKey?: string,
|};
declare export type ScreenProps<
diff --git a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js
@@ -956,6 +956,10 @@
+navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
+ +getId?: ({
+ +params: $ElementType<ParamList, RouteName>,
+ }) => string | void,
+ +navigationKey?: string,
|};
declare export type ScreenProps<
diff --git a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js
@@ -956,6 +956,10 @@
+navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
+ +getId?: ({
+ +params: $ElementType<ParamList, RouteName>,
+ }) => string | void,
+ +navigationKey?: string,
|};
declare export type ScreenProps<
diff --git a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js
@@ -956,6 +956,10 @@
+navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
+ +getId?: ({
+ +params: $ElementType<ParamList, RouteName>,
+ }) => string | void,
+ +navigationKey?: string,
|};
declare export type ScreenProps<
diff --git a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
--- a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
+++ b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js
@@ -956,6 +956,10 @@
+navigation: NavProp,
|}) => ScreenListeners<State, EventMap>,
+initialParams?: $Partial<$ElementType<ParamList, RouteName>>,
+ +getId?: ({
+ +params: $ElementType<ParamList, RouteName>,
+ }) => string | void,
+ +navigationKey?: string,
|};
declare export type ScreenProps<
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 12:44 AM (9 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2697615
Default Alt Text
D5399.diff (2 KB)
Attached To
Mode
D5399: [native] [6/34] ReactNav6: Type optionals prop of ScreenComponent
Attached
Detach File
Event Timeline
Log In to Comment