@react-navigation/lynx 0.4.3 → 0.4.4-canary-20260915-bb4ff0f2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-navigation/lynx",
3
- "version": "0.4.3",
3
+ "version": "0.4.4-canary-20260915-bb4ff0f2",
4
4
  "description": "Lynx integration for React Navigation",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "escape-string-regexp": "^5.0.0",
37
- "@react-navigation/core": "^8.0.0-alpha.34"
37
+ "@react-navigation/core": "^8.0.0-alpha.35"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@lynx-js/react": "*",
@@ -32,33 +32,30 @@ function LynxStackNavigator({
32
32
  router,
33
33
  ...rest
34
34
  }: LynxStackNavigatorProps) {
35
- const { state, descriptors, navigation, NavigationContent } =
36
- useNavigationBuilder<
37
- StackNavigationState<ParamListBase>,
38
- StackRouterOptions,
39
- StackActionHelpers<ParamListBase>,
40
- LynxStackNavigationOptions,
41
- LynxStackNavigationEventMap
42
- >(StackRouter, {
43
- initialRouteName,
44
- routeNamesChangeBehavior,
45
- children,
46
- layout,
47
- screenListeners,
48
- screenOptions,
49
- screenLayout,
50
- router,
51
- });
35
+ const { state, descriptors, navigation, render } = useNavigationBuilder<
36
+ StackNavigationState<ParamListBase>,
37
+ StackRouterOptions,
38
+ StackActionHelpers<ParamListBase>,
39
+ LynxStackNavigationOptions,
40
+ LynxStackNavigationEventMap
41
+ >(StackRouter, {
42
+ initialRouteName,
43
+ routeNamesChangeBehavior,
44
+ children,
45
+ layout,
46
+ screenListeners,
47
+ screenOptions,
48
+ screenLayout,
49
+ router,
50
+ });
52
51
 
53
- return (
54
- <NavigationContent>
55
- <LynxStackView
56
- {...rest}
57
- state={state}
58
- navigation={navigation}
59
- descriptors={descriptors}
60
- />
61
- </NavigationContent>
52
+ return render(
53
+ <LynxStackView
54
+ {...rest}
55
+ state={state}
56
+ navigation={navigation}
57
+ descriptors={descriptors}
58
+ />
62
59
  );
63
60
  }
64
61