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
Other icons work perfectly, only so far the problem with this one.
Icon: class="fas fa-shapes" Error: Uncaught TypeError: Cannot read property 'prefix' of undefined
Code: import { library } from '@fortawesome/fontawesome-svg-core'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faShapes } from '@fortawesome/free-solid-svg-icons'; library.add(faShapes);
FontAwesomeIcon icon="shapes"
The text was updated successfully, but these errors were encountered:
This icon was added in 5.2.0. What version are you using of free-solid-svg-icons?
free-solid-svg-icons
Sorry, something went wrong.
"@fortawesome/fontawesome-svg-core": "^1.2.2", "@fortawesome/free-regular-svg-icons": "^5.2.0", "@fortawesome/free-solid-svg-icons": "^5.2.0", "@fortawesome/react-fontawesome": "^0.1.1",
After reinstalling packages for the second time, now works perfectly.
No branches or pull requests
Other icons work perfectly, only so far the problem with this one.
Icon: class="fas fa-shapes"
Error: Uncaught TypeError: Cannot read property 'prefix' of undefined
Code:
import { library } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faShapes } from '@fortawesome/free-solid-svg-icons';
library.add(faShapes);
FontAwesomeIcon icon="shapes"
The text was updated successfully, but these errors were encountered: