Answers for "react native scaling font"

0

react native scaling font

<Text
    numberOfLines={1}// add this
    adjustsFontSizeToFit// add this
    style={{textAlign:'center',fontSize:30}}
  >
Posted by: Guest on May-06-2021
-1

react native font based on viewport dimensions

<View>
  <Text
    numberOfLines={1}
    adjustsFontSizeToFit
    style={{textAlign:'center',fontSize:30}}
  >
    {this.props.email}
  </Text>
</View>
Posted by: Guest on April-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language