import { NavigationContainer } from '@react-navigation/native' ; import MainStackNavigator from 'navigation/MainStackNavigator' ; import React from 'react' ; import { View , StyleSheet } from 'react-native' ; import { HomeScreen } from 'screens/HomeScreen' ; export type IAppProps = { } ; const App = ( { } ) => { return ( < View style = { styles . container } > { } < MainStackNavigator / > < /View>); } ; const styles = StyleSheet . create ( { container : { flex : 1 } , } ) ; export { App } ;