score:0

Accepted answer
<Table>
  <TableHead>
    <TableRow>
      {a.map((column, index) => (
        <TableCell key={index}>{column.name}</TableCell>
      ))}
    </TableRow>
  </TableHead>
  <TableBody>
    {a[0].values.map((_, rowIndex) => (
      <TableRow key={rowIndex}>
        {a.map((row, colIndex) => (
          <TableCell key={colIndex}>
            {row.values[rowIndex]}
          </TableCell>
        ))}
      </TableRow>
    ))}
  </TableBody>
</Table>

Related Query

More Query from same tag