import { View, Text, UIManager, Platform } from 'react-native'; import React from 'react'; import { createDrawerNavigator } from '@react-navigation/drawer'; import LandingPage from '../screens/LandingPage'; import NewscoutHomeHeader from '../components/organisms/Headers/NewscoutHomeHeader'; import metrics from '../theme/metrics'; import SidebarPage from '../screens/SidebarPage'; import { TouchableWithoutFeedback } from 'react-native-gesture-handler'; import MaterialIcon from "react-native-vector-icons/dist/MaterialIcons"; import colors from '../theme/colors'; const Drawer = createDrawerNavigator(); const LandingPageNavigator = () => { const isLargeScreen = metrics.screenWidth >= 768; if ( Platform.OS === 'android' && UIManager.setLayoutAnimationEnabledExperimental ) { UIManager.setLayoutAnimationEnabledExperimental(true); } return ( }> ({ headerShown: true, header: () => ( navigation.toggleDrawer()}> ), })} /> ); }; export default LandingPageNavigator;