work on stack.
This commit is contained in:
parent
eb7599bfe8
commit
c3d543be39
@ -33,7 +33,9 @@ export default function TTNavStack() {
|
|||||||
return (
|
return (
|
||||||
<NavigationContainer>
|
<NavigationContainer>
|
||||||
<Stack.Navigator initialRouteName='LanguageSelection'>
|
<Stack.Navigator initialRouteName='LanguageSelection'>
|
||||||
<Stack.Screen name="LanguageSelection" component={({ ...props }) => <LanguageSelection {...props} onLangSelected={onLangSelected} />} />
|
<Stack.Screen name="LanguageSelection" >
|
||||||
|
{ props => <LanguageSelection {...props} onLangSelected={(l) => onLangSelected(l)} />}
|
||||||
|
</Stack.Screen>
|
||||||
<Stack.Screen name="ConversationThread" component={ConversationThread} />
|
<Stack.Screen name="ConversationThread" component={ConversationThread} />
|
||||||
<Stack.Screen name="Settings" component={SettingsComponent} />
|
<Stack.Screen name="Settings" component={SettingsComponent} />
|
||||||
</Stack.Navigator>
|
</Stack.Navigator>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user