Created
January 16, 2019 20:51
-
-
Save Gguigre/bda8b7aa55fd21f2de990b6de2d2c560 to your computer and use it in GitHub Desktop.
Basic TransitionView component
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
//... | |
render() { | |
const { ...rest } = this.props; | |
return ( | |
<Animatable.View | |
animation="fadeIn" | |
duration={theme.transitionDuration} | |
useNativeDriver | |
{...rest} | |
/> | |
); | |
} | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment