Created
April 11, 2020 22:33
-
-
Save ICeZer0/8d5b71e06fabe3fd985560b66ed13908 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
const createHomeStack = () => { | |
const { signOut } = useContext(AuthContext); | |
return ( | |
<Stack.Navigator> | |
<Stack.Screen | |
name="Home Screen" | |
component={createDrawer} | |
initialParams={{ singOut: signOut }} | |
/> | |
</Stack.Navigator> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment