We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug This code:
import { faEnvelopeSquare } from '@fortawesome/free-solid-svg-icons' import { layer, icon, counter } from '@fortawesome/fontawesome-svg-core' layer((push) => { push(icon(faEnvelopeSquare)) push(counter(5)) // <-- error here }).html
raises this compiler error:
Argument of type 'Counter' is not assignable to parameter of type 'Icon | Text | IconOrText[]'.
To Reproduce Code above.
Expected behavior No compiler error.
Version and implementation Version: 5.10.2 Browser and version: none
The text was updated successfully, but these errors were encountered:
Hi!
Thanks for being part of the Font Awesome Community.
Sorry, I cannot replicate.
Demo: https://codesandbox.io/s/epic-water-xt07j
Could you please check that you are using the latest available versions of the following packages?
"@fortawesome/fontawesome-svg-core": "1.2.25", "@fortawesome/free-solid-svg-icons": "5.11.2"
Sorry, something went wrong.
Hi @tagliala and thank you for the feedback. It replicates with your demo:
This change should fix: #15651
@heruan oh thanks, didn't see the underlined counter!
counter
Let's assign @mlwilkerson and @robmadole
robmadole
mlwilkerson
No branches or pull requests
Describe the bug
This code:
raises this compiler error:
To Reproduce
Code above.
Expected behavior
No compiler error.
Version and implementation
Version: 5.10.2
Browser and version: none
The text was updated successfully, but these errors were encountered: