nadbm / react-datasheet

Excel-like data grid (table) component for React
https://nadbm.github.io/react-datasheet/
MIT License
5.4k stars 457 forks source link

Are types for default renderers, cell etc. missing? #301

Open mungojam opened 3 years ago

mungojam commented 3 years ago

We sometimes extend react datasheet by extending the underlying default behaviour.

But when doing this from typescript, it doesn't seem to be able to find the components to import them. I don't really understand what's going on with it, but I note that they aren't listed in the types folder, only the interfaces are.

Here is an example:

image

Note that the import works fine if the file is a .jsx so I think it's something to do with types.