queue-anim icon indicating copy to clipboard operation
queue-anim copied to clipboard

Element type is invalid. Expected a string.

Open arpwal opened this issue 3 years ago • 1 comments

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!

arpwal avatar Jul 24 '21 10:07 arpwal

<QueueAnim component="div" /> 
or 
<QueueAnim component={Comp} />

jljsj33 avatar Jul 27 '21 06:07 jljsj33