управление ошибками

This commit is contained in:
Dmitry Borisenko
2022-02-09 16:43:24 +01:00
parent 407c213610
commit c39b543dd1
6 changed files with 61 additions and 25 deletions

View File

@@ -1,6 +1,15 @@
<script>
export let i;
export let click = (i) => {};
export let click = () => {};
</script>
<svg on:click={click(i)} class="h-6 w-6 text-red-400 cursor-pointer" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <line x1="18" y1="6" x2="6" y2="18" /> <line x1="6" y1="6" x2="18" y2="18" /></svg>
<svg
on:click={click()}
class="h-6 w-6 text-red-400 cursor-pointer"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round">
<line x1="18" y1="6" x2="6" y2="18" />
<line x1="6" y1="6" x2="18" y2="18" /></svg>