iconToHTML

external fun iconToHTML(body: String, attributes: dynamic): String

Build an <svg> string from a body and attributes.

Adds the SVG namespace, and the xlink namespace when the body uses xlink:.