2
0
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:
Vjacheslav Trushkin 2024-05-04 17:09:06 +03:00
parent d3349a83f0
commit 879f21637b
3 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -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",

View File

@ -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}