Skip to content
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

inproper PropType warning for Icon's "name" prop #9

Open
neekey opened this issue Dec 4, 2016 · 0 comments
Open

inproper PropType warning for Icon's "name" prop #9

neekey opened this issue Dec 4, 2016 · 0 comments

Comments

@neekey
Copy link

neekey commented Dec 4, 2016

Hi, I am using semantic-ui-less to do style customization, and I changed the icon theme to material.

Since different icon sets have different class names, the type check for the name prop of Icon is no long proper for icon sets other than default.

Below is the warning I receive:

warning.js:36 Warning: Failed prop type: Invalid prop `name` of value `exit_to_app` supplied to `Icon`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant