In this post, we will see how to resolve How to map separate key:values in react-table-v6 row with multiple lines
Question:
Hello I have an array of data:
I have a react-table-v6 and trying to put in a each row tags[country.value] and tags[carrier.value]. Just want to have there list of countries and carriesrs.
How to do it.
I tryed:
But in console.log I have:
But I tested it it works if we do that. Just why it does not work in react-table-v6 through accessor:
Or I can easy put there for example all names
Best Answer:
I solved my problem, how will be useful for someone.
If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com