// @flow import * as React from 'react'; import {createDrawerNavigator} from '@react-navigation/drawer'; import TabNavigator from './MainTabNavigator'; import SettingsScreen from '../screens/SettingsScreen'; import AboutScreen from '../screens/About/AboutScreen'; import AboutDependenciesScreen from '../screens/About/AboutDependenciesScreen'; import SelfMenuScreen from '../screens/SelfMenuScreen'; import AvailableRoomScreen from "../screens/Websites/AvailableRoomScreen"; import DebugScreen from '../screens/DebugScreen'; import Sidebar from "../components/Sidebar"; import {createStackNavigator, TransitionPresets} from "@react-navigation/stack"; import PerfHomeScreen from '../screens/PerfHomeScreen'; const AboutStack = createStackNavigator(); function AboutStackComponent() { return ( ); } const Drawer = createDrawerNavigator(); function getDrawerContent(nav) { return } export default function DrawerNavigator() { return ( getDrawerContent(props.navigation)} screenOptions={{ gestureEnabled: true, cardOverlayEnabled: true, ...TransitionPresets.SlideFromRightIOS, }} > ); } const basicStack = createStackNavigator(); function DrawerNavigator1() { return ( ); }