set number of line text style react native code example
Example: text number of lines react native
<Text numberOfLines={2} ellipsizeMode='tail'>
long string
</Text>
<Text numberOfLines={2} ellipsizeMode='tail'>
long string
</Text>