📌  相关文章
📜  undefined 不是函数('...(0, _reactNative.createStackNavigator)...' 附近) - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:18.346000             🧑  作者: Mango

代码示例1
import { createStackNavigator, createAppContainer } from 'react-navigation';
import HomeScreen from './yourScreenPath';

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

export default createAppContainer(AppNavigator);