我想知道如何在一个周期内stackNavigators
之间使用React导航,使用React导航在React Native中进行导航(stacksNavigators
互相呼叫)。
我正在使用React Native 0.44.3,React 16.0.0-alpha.6
export let AStack = StackNavigator({
A: {
screen: ecranA,
navigationOptions: {
title: 'Settings',
},
},
Cstack: {
screen: CStack,
navigationOptions: {
title: 'Settings',
},
},
});
export let BStack = StackNavigator({
B: {
screen: ecranB,
navigationOptions: {
title: 'Settings',
},
},
Astack: {
screen: AStack,
navigationOptions: {
title: 'Settings',
},
},
});
export let CStack = StackNavigator({
C: {
screen: ecranC,
navigationOptions: {
title: 'Settings',
},
},
Bstack: {
screen: BStack,
navigationOptions: {
title: 'Settings',
},
},
});