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

<Icon> components with different svg icons show up as the same icon. #222

Open
gcosta0410 opened this issue May 7, 2024 · 0 comments
Open

Comments

@gcosta0410
Copy link

What version of astro-icon are you using?

v1.1.0

Astro Info

Astro                    v4.7.1
Node                     v20.12.0
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/tailwind
                         astro-icon

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

Using the package astro-icon, whenever I use 2 components with different SVG icons, the second one will have the same icon as the first one.

What's the expected result?

I expect both components to have different icons.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-tgmsd8?file=src%2Fpages%2Findex.astro

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

1 participant