Javascript replace element in react by the path of an svg image in var variable

前端 未结 0 547
失恋的感觉
失恋的感觉 2021-02-11 09:04

I have an SVG image in same folder. How can I remplace this element in my Icon$p variable by the path of my img :

var Icon$p = function (props) {
    return (Reac         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题