Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

conditional style react

<ImageBackground source={Images.bg} style={ (navHeight==0) ? styles.bg1 : styles.bg2}>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #conditional #style #react
ADD COMMENT
Topic
Name
3+4 =