<svg> Component Referencetml`<svg ...>...</svg>`
The svg component creates a DOM <span> element with the innerHTML set to the svg template converted into a string. This bypasses the normal component build process for the children allowing the special SVG child tags to be interpreted by the browser.
svg component accepts the standard attributes.classSv, the remaining attributes (including className) are passed to the <svg> element in the enclosing <span>. The classSv attribute is handled by the Component superclass: its value (combined with className) is assigned as the class of the enclosing <span> when it changes, not the <svg> element.The svg component accepts all children.
svg Component will render a <span> containing an <svg> element.