rewriting table to use react table

Hi! I have my current table but I wonder if its possible to make it work with react table. Im mostly concerned about one part because currently I have a little small icon that let user add Item to favorites (i use trpc to handle that on click)
Tbody
Items.map(Item => (<ItemComponent Item={item}/>) 
Tbody


Then inside this Item Component I handle the adding / removing stuff. But from what I see react table doesnt work that way so I wonder how should I approach this...
will post links to github code in comment below.
Was this page helpful?