ink-table
ink-table copied to clipboard
render nested component into cell
Hi, I'm struggling to render a nested component (<Badge />
) into a cell. It seems that a cell should contain only a string or number.
I took a look at the example for using a custom cell, but that seemed to fail. Also it seems that using a custom cell means that I need to make a generic cell components which will be used for all cells, rather than just using a custom cell for an individual column?
Maybe I'm thinking about this from the wrong angle?
Thanks!