4
I’m trying to make a list with a component being repeated certain times.
To be clear, I have a ScrollView and its own component PutANumber. I need the ScrollView has a predefined amount of components PutANumber.
It would literally be something like this:
<ScrollView>
  /* Alguma expressão que coloque uma quantidade
     específica de componentes PutANumber... */
</ScrollView>
Whereas the quantity of PutANumber necessary would be 5,
the code explicitly written would be:
<ScrollView>
  <PutANumber/>
  <PutANumber/>
  <PutANumber/>
  <PutANumber/>
  <PutANumber/>
</ScrollView>
How to do this?
an additional problem on the site that I am realizing that the questions have positive votes and the answers have no score, this is happening in a general way in the questions and answers, at least strange. + 1 in his reply .
– novic