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

@ -51,7 +51,7 @@
/**
* Specify the kind of file uploader button
* @type {"primary" | "secondary" | "tertiary" | "ghost" | "danger"}
* @type {import("../Button/Button.svelte").ButtonProps["kind"]}
*/
export let kind = "primary";