Javascript – Map through a 2 different components but differentiating them with their types
I have finished the frontend design.. Now integrating the backend, I came across this issue Here is the demo website I hard coded the components. Now I want to map through. And am confused... Please any help is appreciated, even…