How to define a img tag inside a React.createElement() in React?

后端 未结 0 1479
渐次进展
渐次进展 2021-02-01 16:05

Learning react and came across a scenario where I would want to define a \'img\' tag inside React.createElement(). I have tried below syntax, but I am sure its a wrong method:

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