Given a number, how to render multiple html element ? React/Javascript

前端 未结 0 1937
甜味超标
甜味超标 2020-12-10 20:43

I would like to pass props noOfIcons to my ChartLegend component and if there is noOfIcons value then I would like to render the given number of icons. So if no

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