allow passing only tagName to renderElement