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

Wrong export when try to use the standalone version in React #2

Open
ericmaicon opened this issue May 1, 2020 · 0 comments
Open

Wrong export when try to use the standalone version in React #2

ericmaicon opened this issue May 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ericmaicon
Copy link

Hey there, I've tried to use the standalone version in React but seems that the export is related to another library? which gives conflict:

package.json
"@scenejs/timeline": "^0.2.1",

If I just import the following line somewhere, the whole project doesnt work anymore.

import Timeline, { SelectEvent } from '@scenejs/timeline';```

```JSX element type 'ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null) | (new (props: any) => Component<any, any, any>)> | null' is not a constructor function for JSX elements.```

Shouldn't it be vanilla?
@daybrush daybrush added the bug Something isn't working label May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants