@timpel/forumkit-sdk-react-native 0.2.3 → 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 +11 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7424,24 +7424,17 @@ function RootNavigator() {
|
|
|
7424
7424
|
border: tokens.border
|
|
7425
7425
|
}
|
|
7426
7426
|
}), [mode, tokens]);
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Profile", component: ProfileScreen }),
|
|
7439
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Search", component: SearchScreen }),
|
|
7440
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "SearchInput", component: SearchInputScreen, options: { headerShown: false } }),
|
|
7441
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "AskResult", component: AskResultScreen, options: { headerShown: false } }),
|
|
7442
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Moderation", component: ModerationScreen })
|
|
7443
|
-
] }) }) })
|
|
7444
|
-
);
|
|
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: [
|
|
7429
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Feed", component: FeedScreen }),
|
|
7430
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Thread", component: ThreadScreen, options: { animation: "none" } }),
|
|
7431
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Profile", component: ProfileScreen }),
|
|
7432
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Search", component: SearchScreen }),
|
|
7433
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "SearchInput", component: SearchInputScreen, options: { headerShown: false } }),
|
|
7434
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "AskResult", component: AskResultScreen, options: { headerShown: false } }),
|
|
7435
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Stack.Screen, { name: "Moderation", component: ModerationScreen })
|
|
7436
|
+
] }) });
|
|
7437
|
+
return import_native11.NavigationIndependentTree ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_native11.NavigationIndependentTree, { children: container }) : container;
|
|
7445
7438
|
}
|
|
7446
7439
|
|
|
7447
7440
|
// src/ForumKit.tsx
|