Skip to main content

render_components_html

Function render_components_html 

Source
pub fn render_components_html(
    components: &[Component],
    options: &HtmlRenderOptions,
) -> String
Expand description

Render typed components directly to HTML.

Preferred when you have a UiResponse with Vec<Component>. Wraps output in a minimal self-contained HTML shell with inline styles only.