You can use numberOfLines
as a props for <Text />
component. Its depend on the width of your component then calculate the length of the text. This prop is commonly used with ellipsizeMode
.
Example:
<Text numberOfLines={2} ellipsizeMode="tail">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</Text>