How can I pass an array to a component as a property. Neither of the following achieve what I am looking for. I want to pass the array of items through, manipulate them in the c
You need to use {} around js expressions:
{}
<List columns={['one', 'two', 'three', 'four']} />