mirror of
https://github.com/iconify/iconify.git
synced 2024-09-28 04:59:07 +00:00
chore: update svelte component
This commit is contained in:
parent
d3349a83f0
commit
879f21637b
@ -34,5 +34,4 @@
|
|||||||
<div class="checkbox-container">
|
<div class="checkbox-container">
|
||||||
<a href="# " class={className} on:click|preventDefault={toggle}><Icon icon={icon} mode={checked ? 'svg' : 'style'} />{text}</a>
|
<a href="# " class={className} on:click|preventDefault={toggle}><Icon icon={icon} mode={checked ? 'svg' : 'style'} />{text}</a>
|
||||||
<small>{hint}</small>
|
<small>{hint}</small>
|
||||||
<Icon />
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "@iconify/svelte",
|
"name": "@iconify/svelte",
|
||||||
"description": "Iconify icon component for Svelte.",
|
"description": "Iconify icon component for Svelte.",
|
||||||
"author": "Vjacheslav Trushkin",
|
"author": "Vjacheslav Trushkin",
|
||||||
"version": "4.0.1",
|
"version": "4.0.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": "https://github.com/iconify/iconify/issues",
|
"bugs": "https://github.com/iconify/iconify/issues",
|
||||||
|
@ -30,6 +30,6 @@ export {
|
|||||||
{@html data.body}
|
{@html data.body}
|
||||||
</svg>
|
</svg>
|
||||||
{:else}
|
{:else}
|
||||||
<span {...data.attributes} />
|
<span {...data.attributes}></span>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
Loading…
Reference in New Issue
Block a user