Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3249156
D5414.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
D5414.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
@@ -2158,6 +2158,11 @@
+isReady: () => boolean,
|};
+ declare type BaseNavigationContainerInterfaceRef = {|
+ ...BaseNavigationContainerInterface,
+ +current: BaseNavigationContainerInterface | null,
+ |};
+
/**
* State utils
*/
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
@@ -2158,6 +2158,11 @@
+isReady: () => boolean,
|};
+ declare type BaseNavigationContainerInterfaceRef = {|
+ ...BaseNavigationContainerInterface,
+ +current: BaseNavigationContainerInterface | null,
+ |};
+
/**
* State utils
*/
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
@@ -2158,6 +2158,11 @@
+isReady: () => boolean,
|};
+ declare type BaseNavigationContainerInterfaceRef = {|
+ ...BaseNavigationContainerInterface,
+ +current: BaseNavigationContainerInterface | null,
+ |};
+
/**
* State utils
*/
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
@@ -2158,6 +2158,11 @@
+isReady: () => boolean,
|};
+ declare type BaseNavigationContainerInterfaceRef = {|
+ ...BaseNavigationContainerInterface,
+ +current: BaseNavigationContainerInterface | null,
+ |};
+
/**
* State utils
*/
@@ -2403,6 +2408,12 @@
declare export var NavigationContainer: NavigationContainerType;
+ declare export function createNavigationContainerRef(
+ ): BaseNavigationContainerInterfaceRef;
+
+ declare export function useNavigationContainerRef(
+ ): BaseNavigationContainerInterfaceRef;
+
/**
* useBackButton
*/
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
@@ -2158,6 +2158,11 @@
+isReady: () => boolean,
|};
+ declare type BaseNavigationContainerInterfaceRef = {|
+ ...BaseNavigationContainerInterface,
+ +current: BaseNavigationContainerInterface | null,
+ |};
+
/**
* State utils
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 12:33 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2497849
Default Alt Text
D5414.diff (2 KB)
Attached To
Mode
D5414: [native] [21/34] ReactNav6: Add new NavigationContainerRef functions
Attached
Detach File
Event Timeline
Log In to Comment