Skip to content

Instantly share code, notes, and snippets.

@ICeZer0
Created April 11, 2020 22:33
Show Gist options
  • Save ICeZer0/8d5b71e06fabe3fd985560b66ed13908 to your computer and use it in GitHub Desktop.
Save ICeZer0/8d5b71e06fabe3fd985560b66ed13908 to your computer and use it in GitHub Desktop.
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