allow passing tagName and properties to renderChild methos