I want the ability to add an xml namespace to the SVG generated by this library. Certain frontend frameworks have difficulties rendering SVGs without this attribute.
Solution
Add an optional property xmlns to the SVG struct.
Additionally, add builder methods for that property and all other props. (This is extra, just a nice-to-have imo)
Problem Statement
I want the ability to add an xml namespace to the SVG generated by this library. Certain frontend frameworks have difficulties rendering SVGs without this attribute.
Solution
Add an optional property
xmlns
to the SVG struct.Additionally, add builder methods for that property and all other props. (This is extra, just a nice-to-have imo)