mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
chore: fix type errors and tests
This commit is contained in:
parent
ede0f3dd02
commit
6cb1eb579a
4 changed files with 9 additions and 22 deletions
|
@ -29,7 +29,7 @@
|
|||
/>
|
||||
|
||||
<FileUploader
|
||||
kind="danger-ghost"
|
||||
kind="danger--ghost"
|
||||
size="lg"
|
||||
bind:this="{fileUploader}"
|
||||
multiple
|
||||
|
@ -38,7 +38,7 @@
|
|||
labelDescription="Only JPEG files are accepted."
|
||||
accept="{['.jpg', '.jpeg']}"
|
||||
status="complete"
|
||||
bind:files
|
||||
bind:files="{files}"
|
||||
on:add="{(e) => {
|
||||
console.log(e.detail); // File[]
|
||||
}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue