Add example and return type for the render helper docs