[components] Widget's render method accepts optional root element.
Fix widget documentation.