Expected `onClick` listener to be a function, instead got a value of `string` type. react svg

前端 未结 0 963
借酒劲吻你
借酒劲吻你 2020-11-28 21:09

i want to inject an onclick function in a dynamic svg code. and here is my code example.

link

and i want to run a function like fill how should i

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