pub fn str_to_dom<'a>(
root_nodes: &'a [XmlNode],
component_map: &'a mut XmlComponentMap,
max_width: Option<f32>,
) -> Result<StyledDom, DomXmlParseError>
Expand description
Parses an XML string and returns a StyledDom
with the components instantiated in the
<app></app>