元素类型无效,应为字符串

时间:2019-09-23 18:37:33

标签: react-native expo

我已将应用程序升级到SDK 35,并出现以下错误:

  

元素类型无效,预期为字符串

import { createStackNavigator, createAppContainer, createDrawerNavigator } from 'react-navigation';
import Start from './screens/Start.js'
const RootStack = createStackNavigator({
    Start: {
        screen: Start
    },
 });
const App = createAppContainer(RootStack);
export default App;

0 个答案:

没有答案