TanStackT
TanStack13mo ago
1 reply
awake-maroon

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.
Was this page helpful?