We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75242d commit 9683e14Copy full SHA for 9683e14
src/Native.res
@@ -31,6 +31,18 @@ module NavigationContainer = {
31
~children: React.element,
32
~independent: bool=?,
33
) => React.element = "NavigationContainer"
34
+
35
+ @send
36
+ external isReady: Core.navigation => bool = "isReady"
37
38
39
+ external resetRoot: (Core.navigation, Core.navigationState) => unit = "resetRoot"
40
41
42
+ external getRootState: Core.navigation => Js.nullable<Core.navigationState> = "getRootState"
43
44
45
+ external getCurrentRoute: Core.navigation => Js.nullable<Core.route> = "getCurrentRoute"
46
}
47
48
@module("@react-navigation/native")
0 commit comments