{headerGroups.map(headerGroup => (
{headerGroup.headers.map(column => (
{column.render('Header')}
|
))}
))}
{page.map(row => {
prepareRow(row);
return (
{row.cells.map(cell => {
return (
{cell.render('Cell', { ...row.original })}
|
);
})}
);
})}
{' '}
{' '}
{' '}
{' '}
Page{' '}
{pageIndex + 1} of {pageOptions.length}
{' '}
| Go to page:{' '}
{
const page = e.target.value ? Number(e.target.value) - 1 : 0;
gotoPage(page);
}}
style={{ width: '100px' }}
/>
{' '}
{/* */}
{/* {data.map(({ website_id, name, domain }) => (
))} */}
{fetchedData.data?.length === 0 && (
}
>
} iconRight>
)}
);
}