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

"linkedin in" is not in the icon enumeration causing a console error #4470

Open
mwaddell opened this issue Mar 11, 2024 · 2 comments
Open

"linkedin in" is not in the icon enumeration causing a console error #4470

mwaddell opened this issue Mar 11, 2024 · 2 comments

Comments

@mwaddell
Copy link

Bug Report

Steps

Create a button with the icon "linkedin in" to display the font awesome icon https://fontawesome.com/icons/linkedin-in?f=brands&s=solid

<Button icon="linkedin in" href="https://www.linkedin.com/company/123456"></Button>

Expected Result

No console error.

Actual Result

The following error is displayed in the console:

 console.error
      Warning: Failed prop type: Invalid prop `name` of value `linkedin in` supplied to `Icon`.
      
      Instead of `linkedin in`, did you mean:
        - linkedin
        - inr
        - pin

Version

2.1.5

Testcase

https://codesandbox.io/p/sandbox/semantic-ui-react-forked-qhhw6m

Copy link

welcome bot commented Mar 11, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@mwaddell
Copy link
Author

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