mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(file-uploader): add size
prop to FileUploaderButton
(#1786)
This commit is contained in:
parent
709322c281
commit
51c281de4a
8 changed files with 70 additions and 5 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
<FileUploaderButton
|
||||
kind="tertiary"
|
||||
size="xl"
|
||||
labelText="Add files"
|
||||
on:change="{(e) => {
|
||||
console.log(e.detail); // File[]
|
||||
|
@ -29,6 +30,7 @@
|
|||
|
||||
<FileUploader
|
||||
kind="danger-ghost"
|
||||
size="lg"
|
||||
bind:this="{fileUploader}"
|
||||
multiple
|
||||
labelTitle="Upload files"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue