DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+4 =
Submit