daybrush/scenejs-timeline

Wrong export when try to use the standalone version in React

Opened this issue · 0 comments

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?