@timpel/forumkit-sdk-react-native 0.2.2 → 0.2.4
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/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7424,7 +7424,8 @@ function RootNavigator() {
|
|
|
7424
7424
|
border: tokens.border
|
|
7425
7425
|
}
|
|
7426
7426
|
}), [mode, tokens]);
|
|
7427
|
-
|
|
7427
|
+
const containerProps = { theme: navTheme, independent: true };
|
|
7428
|
+
const container = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_native11.NavigationContainer, { ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Stack.Navigator, { screenOptions: { headerShown: false, statusBarTranslucent: true }, children: [
|
|
7428
7429
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Feed", component: FeedScreen }),
|
|
7429
7430
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Thread", component: ThreadScreen, options: { animation: "none" } }),
|
|
7430
7431
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Profile", component: ProfileScreen }),
|
|
@@ -7433,6 +7434,7 @@ function RootNavigator() {
|
|
|
7433
7434
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "AskResult", component: AskResultScreen, options: { headerShown: false } }),
|
|
7434
7435
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Moderation", component: ModerationScreen })
|
|
7435
7436
|
] }) });
|
|
7437
|
+
return import_native11.NavigationIndependentTree ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_native11.NavigationIndependentTree, { children: container }) : container;
|
|
7436
7438
|
}
|
|
7437
7439
|
|
|
7438
7440
|
// src/ForumKit.tsx
|