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