如何在屏幕之间导航

时间:2019-09-08 13:41:42

标签: react-navigation-stack

const Root Navigator=create StackNavigator(
{
    Splash:Splash,
    MainScreen:MainScreen
},{
    initialRouteName: 'Splash',
}

class App extends Component{  
    render(){
        return(
            <View>
               <Root Navigator/>
            </View>
        )
    }
}

0 个答案:

没有答案