AppStack将包含一个带有2个选项卡的bottomTabNavigator : Home + Profile。配置文件屏幕将有一个编辑按钮,应该路由到EditProfile屏幕。下面是我从概要文件导航到编辑概要文件时的样子。 --它有一个双头,没有bottomTabNavigator?Icon from 'react-native-vector-icons/MaterialIcons';
import { Provider } from 'react-redux
我真的不确定为什么我会收到这个错误,因为代码是从react网站文档中摘录的 (在https://reactnavigation.org/docs/tab-based-navigation/中使用选项卡导航代码示例后出现此错误) import * as React from 'react';
import { NavigationContainer } from '@react-navigation/nativ