[Docs] document optional param for renderComponentToString