Skip to content
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

Element type is invalid. Expected a string. #163

Open
arpwal opened this issue Jul 24, 2021 · 1 comment
Open

Element type is invalid. Expected a string. #163

arpwal opened this issue Jul 24, 2021 · 1 comment

Comments

@arpwal
Copy link

arpwal commented Jul 24, 2021

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!

@jljsj33
Copy link
Member

jljsj33 commented Jul 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants