Created
June 14, 2020 07:14
-
-
Save guyca/b2493c6d28302a3bd2535be4dd3b779c to your computer and use it in GitHub Desktop.
Push a screen with Shared Element Transition
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
Navigation.push(this.props.componentId, { | |
component: { | |
Name: `MY_SCREEN`, | |
options: { | |
animations: { | |
push: { | |
sharedElementTransitions: [ | |
{ | |
fromId: `sourceImage`, | |
toId: `destinationImage` | |
} | |
] | |
} | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment