Created
May 29, 2017 14:56
-
-
Save FreddyPoly/69f203064601dc1635e7992b9bf78091 to your computer and use it in GitHub Desktop.
[REACT NATIVE] Display / Hide Components
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(){ | |
return( | |
{yourCondition ? <yourComponent /> : null} | |
{ this.state.btn_state ? <View> | |
{this.state.list_options} | |
</View> : null } | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment