-
Notifications
You must be signed in to change notification settings - Fork 265
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
Missing id attribute in typescript declarations #324
Missing id attribute in typescript declarations #324
Comments
@rodlukas I don't think that this component is emitting |
I'll re-open this one if I'm missing the point of your ticket. |
@robmadole here's the sandbox: https://codesandbox.io/s/intelligent-murdock-o2bt9?eslint=1&fontsize=14&hidenavigation=1&theme=dark
The only workaround is wrapping the |
Gotcha. Here is the TypeScript definition file. We don't use TS so I have no idea how it should be changed to support the |
@robmadole here's the PR - #326. |
PR merged. Thanks a bunch @rodlukas ! |
Describe the bug
Typescript interface
FontAwesomeIconProps
does not includeid
attribute. Althought theid
attribute is correctly emmited byFontAwesomeIcon
in real when used.Reproducible test case
Not neccessary - open file https://github.com/FortAwesome/react-fontawesome/blob/master/index.d.ts, interface
FontAwesomeIconProps
.Expected behavior
Typescript interface
FontAwesomeIconProps
should include theid
attribute:id?: string
The text was updated successfully, but these errors were encountered: