Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

multiple styles in react native

// use array of objects instead only object in style props
// to use multiple style 
 <Text style={[styles.red, styles.greenUnderline]}>Green underline</Text>
 
PREVIOUS NEXT
Tagged: #multiple #styles #react #native
ADD COMMENT
Topic
Name
1+1 =