Unable to perform conditional rendering in react responive carousel

前端 未结 0 1693
臣服心动
臣服心动 2021-01-02 12:47

I am looping through an array in React and conditionally returning inside of carousel component.

Code:

  projects.map((proj) => {
   if(proj.active)         


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