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