mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +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
2
types/FileUploader/FileUploader.svelte.d.ts
vendored
2
types/FileUploader/FileUploader.svelte.d.ts
vendored
|
@ -52,7 +52,7 @@ export interface FileUploaderProps extends RestProps {
|
|||
* Specify the kind of file uploader button
|
||||
* @default "primary"
|
||||
*/
|
||||
kind?: "primary" | "secondary" | "tertiary" | "ghost" | "danger";
|
||||
kind?: import("../Button/Button.svelte").ButtonProps["kind"];
|
||||
|
||||
/**
|
||||
* Specify the button label
|
||||
|
|
|
@ -38,7 +38,7 @@ export interface FileUploaderButtonProps extends RestProps {
|
|||
* Specify the kind of file uploader button
|
||||
* @default "primary"
|
||||
*/
|
||||
kind?: "primary" | "secondary" | "tertiary" | "ghost" | "danger";
|
||||
kind?: import("../Button/Button.svelte").ButtonProps["kind"];
|
||||
|
||||
/**
|
||||
* Specify the label text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue