update dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher, getContext, onDestroy } from 'svelte';
|
||||
import type { Writable } from 'svelte/store';
|
||||
import { IconSolid } from 'svelte-heros-v2';
|
||||
import { ChevronDown, ChevronUp } from 'svelte-heros-v2';
|
||||
|
||||
let id = crypto.randomUUID();
|
||||
let asc = false;
|
||||
@@ -26,10 +26,10 @@
|
||||
}}
|
||||
>
|
||||
<span class="mr-1"><slot /></span>
|
||||
<IconSolid
|
||||
name={$ascHeader === id && asc ? 'chevron-up-solid' : 'chevron-down-solid'}
|
||||
width="12"
|
||||
height="12"
|
||||
/>
|
||||
{#if $ascHeader === id && asc}
|
||||
<ChevronUp variation="solid" />
|
||||
{:else}
|
||||
<ChevronDown variation="solid" />
|
||||
{/if}
|
||||
</button>
|
||||
</th>
|
||||
|
||||
Reference in New Issue
Block a user