data.map react native code example
Example 1: how map work in react
{this.state.data.map((person) => <TableRow key = {shortid.generate()} data = {person} />)}
Example 2: react native map array of objects
var tmp_array = [
{ headline: "Test", text: "Test text", send_at: "test date" }
];