import React from 'react'; export default function TableNew({ getTableProps, getTableBodyProps, headerGroups, prepareRow, page, }) { return ( {headerGroups.map(headerGroup => ( {headerGroup.headers.map(column => ( ))} ))} {page.map(row => { prepareRow(row); return ( {row.cells.map(cell => { return ( ); })} ); })}
{column.render('Header')}
{cell.render('Cell', { ...row.original })}
); }