0}
+ ondragover={handleDragOver}
+ ondragleave={handleDragLeave}
+ ondrop={handleDrop}
+ >
+
+ {#if files.length === 0}
+
+
Drop images here
+
or click to browse and select files
+
Supports JPG, PNG, GIF, WebP, and SVG files
+ {:else}
+
+
{files.length} file{files.length !== 1 ? 's' : ''} selected
+
Drop more files to add them, or click to browse
+
+ {/if}
+