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
Note: The icons will inherit their parent's CSS `color`.
60
60
61
+
## 0.9.0 breaking change
62
+
63
+
To comply with the [new feature flag limit](https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html), `yew_icons` no longer uses a feature per `IconId` enum variant. Instead, use features to enable collections and then use associated constants of `IconData`.
64
+
61
65
## Feature Flags
62
66
63
67
Each icon collection must be included with the corresponding feature flag, such as `lucide` or `font_awesome_solid`.
64
68
65
-
To save binary size, individual icons can also be included by feature flag, such as `LucideZoomIn` or `FontAwesomeSolidAtom`.
66
-
67
69
By default, no collections or icons are included. Be warned that including too many icons may result in a `.wasm` binary
68
70
that some WebAssembly engines refuse to load, especially in debug mode (see <https://github.com/rustwasm/wasm-pack/issues/981>).
0 commit comments