react native text max lines code example
Example 1: text number of lines react native
<Text numberOfLines={2} ellipsizeMode='tail'>
long string
</Text>
Example 2: react native text max rows
<Text numberOfLines={2}>Your text</Text>
<Text numberOfLines={2} ellipsizeMode='tail'>
long string
</Text>
<Text numberOfLines={2}>Your text</Text>