Answers for "react native how to center a view"

1

center element react native

var styles = StyleSheet.create({
    content:{
        flex:1,
        flexDirection:'row',
        alignItems:'center',
        justifyContent:'center'
    },
   …
});
Posted by: Guest on September-03-2020

Code answers related to "react native how to center a view"

Code answers related to "Javascript"

Browse Popular Code Answers by Language