mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -6,7 +6,7 @@
|
|||
</script>
|
||||
|
||||
<FileUploader
|
||||
bind:this="{fileUploader}"
|
||||
bind:this={fileUploader}
|
||||
multiple
|
||||
labelTitle="Upload files"
|
||||
buttonLabel="Add files"
|
||||
|
@ -18,15 +18,11 @@
|
|||
|
||||
<Button
|
||||
kind="tertiary"
|
||||
disabled="{!files.length}"
|
||||
on:click="{fileUploader.clearFiles}"
|
||||
disabled={!files.length}
|
||||
on:click={fileUploader.clearFiles}
|
||||
>
|
||||
Clear (programmatic)
|
||||
</Button>
|
||||
<Button
|
||||
kind="tertiary"
|
||||
disabled="{!files.length}"
|
||||
on:click="{() => (files = [])}"
|
||||
>
|
||||
<Button kind="tertiary" disabled={!files.length} on:click={() => (files = [])}>
|
||||
Clear (two-way binding)
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue