mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-08 22:44:14 +08:00
refactor: keep transition states locally and implement animated replace
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user