queue-anim
queue-anim copied to clipboard
Element type is invalid. Expected a string.
Hey folks - I was trying to integrate the rc-queue-anim library into my electron project, however I got the following error --
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I've used it previously in other react projects, and it worked great. Am I missing something? Thanks for your help!
<QueueAnim component="div" />
or
<QueueAnim component={Comp} />