fix(types): correctly type kind prop in FileUploader, FileUploaderButton (#1781)

This commit is contained in:
Eric Liu 2023-07-23 12:42:33 -07:00 committed by GitHub
commit a7443c2dca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 34 deletions

View file

@ -20,6 +20,7 @@
</script>
<FileUploaderButton
kind="tertiary"
labelText="Add files"
on:change="{(e) => {
console.log(e.detail); // File[]
@ -27,6 +28,7 @@
/>
<FileUploader
kind="danger-ghost"
bind:this="{fileUploader}"
multiple
labelTitle="Upload files"