I have such array: let arr = [1,2,3,4,5,6,7,8,9,10]
And I want to display the list of these numbers, so I made like this:
arr.map(el => {
return (
<div>{el}</div>
)
})
So, and it gives me this output:
1
2
3
....
Could I show 3 elements per line?
123
456
789
...