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