-
Notifications
You must be signed in to change notification settings - Fork 294
Expected a string (for built-in components) or a class/function (for composite components) but got: object #155
Comments
I'm running into this as well. Any assistance would be greatly appreciated. |
Super simple repro https://github.com/shilman/cra-treebeard-error |
I'm also able to repro this inside the repo's tests if I clear the The error goes away if I remove |
As a workaround, disable animations and the problem goes away: <Treebeard animations={false} [...other options] /> |
Since we're no longer using treebeard in Storybook 5, I'm not going to fix this. The above workaround of turning off animations is a good start. If anybody wants to dig in and figure out what's wrong with |
I am unable to use an external module I installed and I did exactly what was instructed in the documentation. It works when i run it in codesandbox but it doesn't run in my own dev environment.
Here's my code:
The text was updated successfully, but these errors were encountered: