Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native override style

 const styles = StyleSheet.create({
      CircleShapeView: {
        width: 50,
        height: 50,
        borderRadius: 50/2,
        backgroundColor: '#000'
    },
    });

<Image
style={[ styles.CircleShapeView, { backgroundColor: "#fff" } ]}   {/*this part overrides*/}                
...
/> 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #override #style
ADD COMMENT
Topic
Name
4+9 =