import * as React from 'react'; import { StyleSheet, ImageBackground } from 'react-native'; import { Text, View } from '../components/Themed'; import { ScreenInfo3 } from '../components/ScreenInfo'; import { RootTabScreenProps } from '../types'; const image = { uri: "https://meansofproduction.biz/images/GREENT.jpg" }; export var nav:any = null; export default function HomeScreen( { navigation }: RootTabScreenProps<'Home'>) { nav = navigation; return ( GT2 ); } const styles = StyleSheet.create({ image: { flex: 1, justifyContent: "center" }, container: { flex: 1, alignItems: 'center', justifyContent: 'center', }, title: { color: 'white', fontSize: 40, fontWeight: 'bold', }, separator: { marginVertical: 10, height: 1, width: '80%', }, });