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

Use latest icondata dependency? #29

Open
adrianncovaci opened this issue Oct 5, 2023 · 1 comment
Open

Use latest icondata dependency? #29

adrianncovaci opened this issue Oct 5, 2023 · 1 comment

Comments

@adrianncovaci
Copy link
Contributor

I recently executed cargo update and noticed that leptos-icons no longer compiles due to modifications in the icondata dependency. Specifically, utilities like the icon! macro are malfunctioning since their imports have been deleted. There are also new cargo features and others have been removed. Is there ongoing work to address this?

@carloskiki
Copy link
Owner

The Icon! macro was removed in version 0.1.0.

Icon features changed because the icon libraries of icondata were updated. In the future, it is planned for leptos_icons to only export the Icon component and let users bring in their own version of icondata (or perhaps another icon library). This would make leptos_icons more stable as right now breaking changes occur every time a icon library is updated.

Does that answer your question?

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

2 participants