Skip to content

Icon Component #703

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

Merged
merged 10 commits into from
Feb 22, 2024
Prev Previous commit
Next Next commit
fix_toggle_button_icon_bug
  • Loading branch information
mousheng committed Aug 9, 2023
commit fd9c3ccfe95ff3de8f2d4f46f43fb86fbdb0e6b6
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Icon {
}
}
getView() {
if (this.names[0].startsWith("antd/")) return this.def;
if (this.names[0]?.startsWith("antd/")) return this.def;
else
return (
<FontAwesomeIcon
Expand Down