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

@ -3822,7 +3822,7 @@
"name": "kind",
"kind": "let",
"description": "Specify the kind of file uploader button",
"type": "\"primary\" | \"secondary\" | \"tertiary\" | \"ghost\" | \"danger\"",
"type": "import(\"../Button/Button.svelte\").ButtonProps[\"kind\"]",
"value": "\"primary\"",
"isFunction": false,
"isFunctionDeclaration": false,
@ -3975,7 +3975,7 @@
"name": "kind",
"kind": "let",
"description": "Specify the kind of file uploader button",
"type": "\"primary\" | \"secondary\" | \"tertiary\" | \"ghost\" | \"danger\"",
"type": "import(\"../Button/Button.svelte\").ButtonProps[\"kind\"]",
"value": "\"primary\"",
"isFunction": false,
"isFunctionDeclaration": false,