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

Types in index.d.ts not resolved #67

Closed
edewit opened this issue Mar 18, 2020 · 2 comments
Closed

Types in index.d.ts not resolved #67

edewit opened this issue Mar 18, 2020 · 2 comments

Comments

@edewit
Copy link

edewit commented Mar 18, 2020

When using FocusTrap component in a typescript project I get the following error:

error TS2605: JSX element type 'FocusTrap' is not a constructor function for JSX elements.
  Type 'FocusTrap' is missing the following properties from type 'ElementClass': render, context, setState, forceUpdate, and 3 more.
Component.tsx(63,7): error TS2607: JSX element class does not support attributes because it does not have a 'props' property.
@stefcameron
Copy link
Member

I assume this is no longer an issue since no response on #68

@edewit
Copy link
Author

edewit commented Nov 26, 2020

I'm sorry don't use this anymore made my own

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