Answers for "how to center a component in react native"

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 "how to center a component in react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language