Skip to main content

render_string

Function render_string 

Source
pub fn render_string(
    source: &str,
    file_name: &str,
    props: &Value,
    config: &RenderConfig,
) -> Result<String, JsxrsError>
Expand description

Render a JSX/TSX source string to a complete HTML document.