How can I style 24 elements in an array with a table of 4 columns and 6 rows?
The array has 24 elements like this:
const words = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x" ]
and I map them over in render method:
<View>
{words.map((word, id) => (
<View key={id}><Text>{word} </Text></View>
))}
</View>
[["a", "b", "c", "d"],["e", "f", "g", "h"]...-- you can use lodash.chunk for this.