const AppNavigator = createStackNavigator({
      Home: {
          screen: HomeScreen,
      },
});

BY Best Interview Question ON 18 Aug 2020