We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5aef1 commit c1407dcCopy full SHA for c1407dc
packages/svelte/src/lib/components/file-upload/examples/with-paste.svelte
@@ -10,7 +10,7 @@
10
<textarea
11
placeholder="Paste image here..."
12
onpaste={(e) => fileUpload().setClipboardFiles(e.clipboardData)}
13
- />
+ ></textarea>
14
<FileUpload.ItemGroup>
15
{#each fileUpload().acceptedFiles as file (file.name)}
16
<FileUpload.Item {file}>
@@ -22,4 +22,4 @@
22
{/each}
23
</FileUpload.ItemGroup>
24
<FileUpload.HiddenInput />
25
-</FileUpload.RootProvider>
+</FileUpload.RootProvider>
0 commit comments