Adding Static Assets to Pluggable Widgets

1
I am trying to create a custom react component that consists of an svg icon and some text. When I create an assets folder and place my svg in it, import the svg in my jsx file and use it as a component, the path on inspecting the widget does not contain slashes and looks like this:   On fixing the slashes like this:  it works fine.   Am I missing anything?
asked
0 answers