TypeError when making Columns for React-Table using array of objects as Data
As a solution renaming file from .tsx
to .jsx
worked for me. I found this in react-table open issues, looks like it won't work properly without hacks until they rewrite the library into typescript in further releases.