T
TanStack•8mo ago
like-gold

Can't figure out typeof cell (jsx or text) in custom table implementation

We have a custom table implementation using Tanstack's Table and we'd like to wrap cell's in a <Text> component (React Native) when the cell is raw text. But cell.getValue() returns the raw text data even if the cell is JSX. Can't seem to find any other value or method on the cell instance that points to whether there's JSX involved.
1 Reply
like-gold
like-goldOP•8mo ago
Awesome thanks for the help. 👋

Did you find this page helpful?