We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9773ee8 commit f8a7ef0Copy full SHA for f8a7ef0
1 file changed
src/screens/details.tsx
@@ -15,6 +15,7 @@ export function DetailsScreen() {
15
return (
16
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
17
<Text>You are currently {depth} screens deep</Text>
18
+ <Button onPress={() => navigation.setParams({depth: (depth + 1)})}>Increment Depth</Button>
19
<Button onPress={() => navigation.push('Details', {depth: (depth + 1)})}>Go Deeper</Button>
20
<Button onPress={() => navigation.goBack('Details')}>Go Back</Button>
21
<Button onPress={() => navigation.popTo('Home')}>Go Home</Button>
0 commit comments