There was an error while loading. Please reload this page.
1 parent f6c1ce8 commit ac9c6aaCopy full SHA for ac9c6aa
1 file changed
platforms/metagram/src/lib/ui/InputFile/InputFile.svelte
@@ -1,4 +1,7 @@
1
<script lang="ts">
2
+ import { Album01Icon } from "@hugeicons/core-free-icons";
3
+ import { HugeiconsIcon } from "@hugeicons/svelte";
4
+
5
interface IInputFileProps {
6
files: FileList | undefined;
7
placeholder: string;
@@ -22,6 +25,9 @@
22
25
{#if files}
23
26
<h3 class="text-black-800">{files[0].name.slice(0, 5) + '...'}</h3>
24
27
{:else}
- Click to upload a photo
28
+ <div class="flex flex-col gap-2 items-center">
29
+ <HugeiconsIcon size="24px" icon={Album01Icon} color="var(--color-black-600)"/>
30
+ Click to upload a photo
31
+ </div>
32
{/if}
33
</label>
0 commit comments