import { createNativeStackNavigator } from "@react-navigation/native-stack"; import { Platform } from "react-native"; import PopoutChat from "src/screens/chat-popout"; import DanmuOBSScreen from "src/screens/danmu-obs"; import EmbedScreen from "src/screens/embed"; import InfoWidgetEmbed from "src/screens/info-widget-embed"; import MobileStream from "src/screens/mobile-stream"; import type { RootStackParamList } from "./navigation-types"; const Stack = createNativeStackNavigator(); // The root navigator, containing full-screen items that we want to hide the tab bar on // On mobile, we'll want these to contain a back button to redirect to somewhere that // has tabs (e.g. Home) export const RootNavigator = () => { return ( ); }; // TypeScript helpers export type RootNavigatorType = typeof Stack; declare module "@react-navigation/core" { interface RootNavigator extends RootNavigatorType {} }