You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/upgrading/0.14.0-0.15.0.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,3 +45,11 @@ If you import any types from `@fortawesome/fontawesome-svg-core`, you should imp
45
45
-import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
46
46
+import { IconDefinition } from '@fortawesome/angular-fontawesome';
47
47
```
48
+
49
+
## Icon inputs are now more permissive
50
+
51
+
Previously, `icon` input had a very restrictive type, which only allowed to specify icon pack and icon name values which exist in the Font Awesome icon packages. Now, the type is more permissive and allows to specify any string while retaining code completion for potentially available Font Awesome icon packs and icon names.
52
+
53
+
No changes are needed in the code, but consumers should be aware that the `<fa-icon>` component will no longer fail compilation if the icon name is not one of the Font Awesome icons, thus allowing to use [custom icons](../guide/custom-icons.md).
54
+
55
+
Refer to https://github.com/FortAwesome/angular-fontawesome/pull/436 for more details on the change.
0 commit comments