I'm trying to iterate an array of objects to display each object element in a table.
Thats my array:
list: [
{header: ['id', 'name', 'date', 'verified']},
{body: [1, 'abc', '26-10-2019', true]}
]
I want to render a table in a vertical position like this:

That's how I'm trying to do:
const render = list.map((result, idx) => (
<tr key={idx}>
<td>{result.header}</td>
<td>{result.body}</td>
</tr>
))
But the result is
<tr>
<td>id name date verified</td>
</tr>
<tr>
<td>1 abc 26-10-2019 true</td>
</tr>
result.headerandresult.bodyas well