fix(lucide-svelte): Resolve Svelte 5 deprecation of svelte:component (#3112)

* removed flutter package link

* created drumsticks.svg and json

* Update to Svelte 5 syntax (removed svelte:component)

* Remove drumsticks icons

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
shamaamahh
2025-05-02 09:39:05 +02:00
committed by GitHub
co-authored by Eric Fennis
parent 2640a7c585
commit 2fde138c46
+5 -2
View File
@@ -162,11 +162,13 @@ The package includes type definitions for all icons. This is useful if you want
</script>
{#each menuItems as item}
{@const Icon = item.icon}
<a href={item.href}>
<svelte:component this={item.icon} />
<Icon />
<span>{item.name}</span>
</a>
{/each}
```
:::
@@ -246,8 +248,9 @@ The package includes type definitions for all icons. This is useful if you want
</script>
{#each menuItems as item}
{@const Icon = item.icon}
<a href={item.href}>
<svelte:component this={item.icon} />
<Icon />
<span>{item.name}</span>
</a>
{/each}