Skip to content

2.2.0

Compare
Choose a tag to compare
@AliOsm AliOsm released this 15 Dec 08:51
· 12 commits to main since this release

In v2.2.0, you can use variants on icon class names, which is easier to be passed to other Phlex components.

For example, instead of writing:

PhlexIcons::Hero::AcademicCap(variant: :solid)

You can write:

PhlexIcons::Hero::AcademicCapSolid

And everything should work the same, including passing class and other attributes to the icon component.

Full Changelog: 2.0.0...2.2.0