-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No type support for custom cell components that are created with React.memo #240
Comments
Hey @seriojca , can you please be more explicit? |
I receive the following : NamedExoticComponent<CellProps<any, any>>' is not assignable to type 'CellComponent<any, any> when i place a React.memo in component attribute and have to write it |
Can you share some code to demonstrate what is wrong ? |
i have to make ExampleMemoComponent as any, otherwise it will give me errors |
I have the same issue. if I simply try to reproduce the example here: https://react-datasheet-grid.netlify.app/docs/examples/implementing-select#final-result But if I change the SelectComponent type to any (as mentioned by @seriojca above) then it no longer complains: |
This approach worked for me. |
No description provided.
The text was updated successfully, but these errors were encountered: