mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): correctly type kind
prop in FileUploader
, FileUploaderButton
(#1781)
This commit is contained in:
parent
65dcd9c286
commit
a7443c2dca
7 changed files with 36 additions and 34 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue