refactor: keep transition states locally and implement animated replace

This commit is contained in:
satyajit.happy
2019-06-08 01:18:48 +02:00
parent 8f95076102
commit 6b2079735b
13 changed files with 304 additions and 1188 deletions

View File

@@ -9,6 +9,10 @@ const Buttons = withNavigation(props => (
title="Go to Details"
onPress={() => props.navigation.navigate('Details')}
/>
<Button
title="Replace with List"
onPress={() => props.navigation.replace('List')}
/>
<Button
title="Go and then go to details quick"
onPress={() => {