pub fn component_config(type_tag: &str, yaml: &str) -> ComponentConfigExpand description
A component config tagged type_tag, with yaml as its body.
yaml is the section’s body without the tag line, and may be indented.
§Panics
Panics if yaml does not parse.