Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Why do you need an SVG tag in particular?
    – AKX
    Commented Jul 1 at 5:33
  • Could you please provide an example of how this svgText looks like? If its something like M10,30 A20,20,0,0,1,50,30 A20,20,0,0,1,90,30 Q90,60,50,90 Q10,60,10,30 Z then you could use <svg><path d={path} /></svg> Commented Jul 1 at 6:05
  • React is (for the most part) Javascript, so if your code/logic/etc works in Javascript then it should work nearly as equally well in any React code. What is the exact/specific issue or problem you have? Please edit to clarify and to provide a complete minimal reproducible example of the relevant code you are working with.
    – Drew Reese
    Commented Jul 1 at 6:50