Is it possible to render icons inside column cells without having any other corresponding data that's coming from the source the table's pulling from for the other table values? I'm just trying to make a column of right-facing arrows at the end of each row. FWIW, this additional column is supposed to have a blank header.
The following is how I'm currently trying to implement it, which is causing an Error: A column ID (or string accessor) is required!
error:
const columns = [
{
Header: 'First Name',
accessor: 'firstName',
},
{
Header: 'Last Name',
accessor: 'lastName',
},
{
Cell: () => (<ArrowFacingRight />)
},
]
Could someone please explain how I could go about doing what I'm trying to accomplish?