-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
React and TypeScript TS2740 #865
Comments
Thanks for the bug report! We've updated the |
@texodus This is a big improvement, thank you. I've run into an issue with it, however: <perspective-viewer
className="perspective-viewer-material-dense-dark"
ref={this.viewer}
/> produces <div classname="perspective-viewer-material-dense-dark">
... Using
|
@stevenvachon Doesn't look like the react typings have |
According to the React docs, It looks like EDIT On closer inspection, this solution does not work either. It seems Custom Element support in JSX is limited ala here, and thus would need a wrapper |
#886 should resolve this issue for now via the |
Thanks, that fixes it. Would you publish a patch release, please? |
Support Question
I'm getting this error:
types.ts:
component.tsx:
The text was updated successfully, but these errors were encountered: