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