I am receiving this message when I tried starting my react native app. Usually this kind of format works on other multi screen navigation yet somehow does not work in this c
const AppNavigator = createStackNavigator({ Home: { screen: Home }, Friends: { screen: Friends }, });
Simple i did
const App = createAppContainer(AppNavigator); export default App;
Instead of
export default AppNavigator;