Answer the question
In order to leave comments, you need to log in
How to design automatic generation of React-Bootstrap components?
I have a Card component and in order not to write by hand, I want to do it automatically. (For the Card to form itself with a header and body. I
need a link to an explanation or a technology.
I would be very grateful.
Answer the question
In order to leave comments, you need to log in
In fact, you just need to create a card component where to display the value from the props in the right places. And getting props in the component where the card will be simply using the .map method (if you have values \u200b\u200bthat come in an array), you draw the card as many as there are values in the props. Googled the use of the .map and .each methods in React
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question