web/CopyIcon: added regular copy icon
This commit is contained in:
parent
a589bf7e54
commit
b8fc3aeb4c
1 changed files with 7 additions and 1 deletions
|
@ -1,13 +1,19 @@
|
|||
<script lang="ts">
|
||||
import IconLink from "@tabler/icons-svelte/IconLink.svelte";
|
||||
import IconCopy from "@tabler/icons-svelte/IconCopy.svelte";
|
||||
import IconCheck from "@tabler/icons-svelte/IconCheck.svelte";
|
||||
|
||||
export let check = false;
|
||||
export let regularIcon = false;
|
||||
</script>
|
||||
|
||||
<div id="copy-animation" class:check>
|
||||
<div class="icon-copy">
|
||||
<IconLink />
|
||||
{#if regularIcon}
|
||||
<IconCopy />
|
||||
{:else}
|
||||
<IconLink />
|
||||
{/if}
|
||||
</div>
|
||||
<div class="icon-check">
|
||||
<IconCheck />
|
||||
|
|
Loading…
Reference in a new issue