Closed web-programmer-here closed 2 years ago
also tried this
const transform = (svg) => {
svg.setAttributeNS(null, "width", "100px");
svg.setAttributeNS(null, "height", "100px");
return svg;
};
but it did not work
also tried this but it did not work
You should use transformSource
, but in your code you are setting width to the root svg, you should query inner svg first
The svg I am trying to show has another svg inside it
I cant seem to overwrite the width and height of this inner svg?