import React from 'react'; import { Alert, TouchableOpacity, LayoutAnimation, StatusBar, StyleSheet, Text, View, } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { Themed, ThemeContext, NavigationScreenProp, NavigationState, SafeAreaView, } from 'react-navigation'; import { createMaterialTopTabNavigator, MaterialTopTabBar, } from 'react-navigation-tabs'; import { Button } from './Shared/ButtonWithMargin'; interface Props { navigation: NavigationScreenProp; } class MyHomeScreen extends React.Component { static navigationOptions = { tabBarLabel: 'Home', tabBarIcon: ({ tintColor, focused, horizontal, }: { tintColor: string; focused: boolean; horizontal: boolean; }) => ( ), }; render() { const { navigation } = this.props; return ( Home Screen