Created
September 2, 2021 14:58
-
-
Save warodri-sendbird/6be5418dea0d8c81625c4024dba8b9ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( | |
<NavigationContainer> | |
<AppContext.Provider value={initialState}> | |
<Stack.Navigator> | |
<Stack.Screen name="Lobby" component={Lobby} options={{ ...defaultHeaderOptions }} /> | |
<Stack.Screen name="Chat" component={Chat} options={{ ...defaultHeaderOptions }} /> | |
<Stack.Screen name="Member" component={Member} options={{ ...defaultHeaderOptions }} /> | |
<Stack.Screen name="Invite" component={Invite} options={{ ...defaultHeaderOptions }} /> | |
<Stack.Screen name="Profile" component={Profile} options={{ ...defaultHeaderOptions }} /> | |
</Stack.Navigator> | |
</AppContext.Provider> | |
</NavigationContainer> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment