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
material
name="apps"
notifications
This should just render the material icon.
Icons are rendered but console warnings are produced:
Failed prop type: Invalid prop `name` of value `apps` supplied to `Icon`.
0.67.0
Maybe material icon names should be added ICON_ALIASES in https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/lib/SUI.js . Or maybe just disable validation of the name as you can't possibly cover all themes including any custom icons ppl may add. Possibly add another prop that would disable this validation?
The text was updated successfully, but these errors were encountered:
Maybe material icon names should be added
Nope. We use only defined icon names from SUI.
Possibly add another prop that would disable this validation?
Use className prop to add your custom classes:
className
<Icon className="apps" />
Sorry, something went wrong.
You can find more info on customizing icons here #931 (comment).
No branches or pull requests
Steps
material
theme for iconsname="apps"
(ornotifications
or others)Expected Result
This should just render the material icon.
Actual Result
Icons are rendered but console warnings are produced:
Version
0.67.0
Maybe material icon names should be added ICON_ALIASES in https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/lib/SUI.js . Or maybe just disable validation of the name as you can't possibly cover all themes including any custom icons ppl may add. Possibly add another prop that would disable this validation?
The text was updated successfully, but these errors were encountered: