Adrien Denat commited on
Commit
fa4bfea
1 Parent(s): 8811ee0

forgot to commit this after file rename

Browse files
src/lib/components/ScrollToBottomBtn.svelte CHANGED
@@ -1,6 +1,6 @@
1
  <script lang="ts">
2
  import { fade } from 'svelte/transition';
3
- import Chevron from './icons/Chevron.svelte';
4
  import { onDestroy } from 'svelte';
5
 
6
  export let scrollNode: HTMLElement;
@@ -29,6 +29,6 @@
29
  transition:fade={{ duration: 150 }}
30
  on:click={() => scrollNode.scrollTo({ top: scrollNode.scrollHeight, behavior: 'smooth' })}
31
  class="absolute flex rounded-full border w-10 h-10 items-center justify-center shadow bg-white dark:bg-gray-700 dark:border-gray-600 {className}"
32
- ><Chevron /></button
33
  >
34
  {/if}
 
1
  <script lang="ts">
2
  import { fade } from 'svelte/transition';
3
+ import IconChevron from './icons/IconChevron.svelte';
4
  import { onDestroy } from 'svelte';
5
 
6
  export let scrollNode: HTMLElement;
 
29
  transition:fade={{ duration: 150 }}
30
  on:click={() => scrollNode.scrollTo({ top: scrollNode.scrollHeight, behavior: 'smooth' })}
31
  class="absolute flex rounded-full border w-10 h-10 items-center justify-center shadow bg-white dark:bg-gray-700 dark:border-gray-600 {className}"
32
+ ><IconChevron /></button
33
  >
34
  {/if}