I tried defining it this way:
{
name: "colorList",
label: "Color",
options: {
filter: true,
sort: true,
customBodyRender: (value, tableMeta, updateValue) => {
{
Object.entries(value).map(([key, value]) => {
return key;
});
}
},
},
},
And I will receive this error in the console.
Warning: Each child in a list should have a unique "key" prop.
If I'll console.log(value), I can see the data in the console.
customBodyRender: (value, tableMeta, updateValue) => {
console.log(value)
},
How can I show the access they key and display it?
