1

I'm trying to import a SVG using <img/>. Seems like it's not working. Any workaround for this issue?

<img src="./assets/icon.svg" alt="Icon">.

sachq
  • 672
  • 7
  • 11

1 Answers1

1

There’s not currently a direct workaround for this. Lack of SVG support in the UI APIs is noted as a known issue in the docs.

For now, you’ll need to use another image format.

Ash Ryan Arnwine
  • 1,471
  • 1
  • 11
  • 27