import React from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, FlatList, TouchableOpacity } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; import { NavigationContainer } from '@react-navigation/native' import { createStackNavigator } from '@react-navigation/stack' import styles from './styles/morestyles' import Announcements from './Announcements' import Resources from './Resources' import StudentWeek from './StudentWeek' import SSLOps from './SSLOps' import LunchEvents from './LunchEvents' const Stack = createStackNavigator() class MoreSwitch extends React.Component { constructor(props) { super(props) this.props = props } render() { return ( this.props.navigation.navigate(item.key)}> {item.name} } /> ) } } class More extends React.Component { render() { return ( ) } } export default More;