Answers for "set text 2 line react native"

1

text number of lines react native

<Text numberOfLines={2} ellipsizeMode='tail'>
  long string
</Text>
Posted by: Guest on February-10-2021
0

insert a line break into a text component in react-native

text = text.replace(/<br\s*\/?>/gi, "\n")
Posted by: Guest on August-12-2021

Code answers related to "set text 2 line react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language