mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(file-uploader): add size
prop to FileUploaderButton
(#1786)
This commit is contained in:
parent
709322c281
commit
51c281de4a
8 changed files with 70 additions and 5 deletions
6
types/FileUploader/FileUploader.svelte.d.ts
vendored
6
types/FileUploader/FileUploader.svelte.d.ts
vendored
|
@ -54,6 +54,12 @@ export interface FileUploaderProps extends RestProps {
|
|||
*/
|
||||
kind?: import("../Button/Button.svelte").ButtonProps["kind"];
|
||||
|
||||
/**
|
||||
* Specify the size of the file uploader button
|
||||
* @default "small"
|
||||
*/
|
||||
size?: import("../Button/Button.svelte").ButtonProps["size"];
|
||||
|
||||
/**
|
||||
* Specify the button label
|
||||
* @default ""
|
||||
|
|
|
@ -40,6 +40,12 @@ export interface FileUploaderButtonProps extends RestProps {
|
|||
*/
|
||||
kind?: import("../Button/Button.svelte").ButtonProps["kind"];
|
||||
|
||||
/**
|
||||
* Specify the size of the file uploader button
|
||||
* @default "small"
|
||||
*/
|
||||
size?: import("../Button/Button.svelte").ButtonProps["size"];
|
||||
|
||||
/**
|
||||
* Specify the label text
|
||||
* @default "Add file"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue