mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +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[]
|
||||
}}"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<TabContent>Content 3</TabContent>
|
||||
|
||||
<Tabs type="container">
|
||||
<Tabs contained>
|
||||
<Tab label="Tab label 1" />
|
||||
<Tab label="Tab label 2" />
|
||||
<Tab label="Tab label 3" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue