feat(button-skeleton): add size prop consistent with Button

This commit is contained in:
Eric Liu 2020-10-15 05:31:22 -07:00
commit 6d48ff38cb
5 changed files with 33 additions and 9 deletions

14
types/index.d.ts vendored
View file

@ -227,7 +227,13 @@ export class ButtonSkeleton extends CarbonSvelteComponent {
href?: string;
/**
* Set to `true` to use the small variant
* Specify the size of button skeleton
* @default "default"
*/
size?: "default" | "field" | "small";
/**
*
* @default false
*/
small?: boolean;
@ -3144,6 +3150,12 @@ export class ProgressIndicatorSkeleton extends CarbonSvelteComponent {
* @default false
*/
vertical?: boolean;
/**
* Specify the number of steps to render
* @default 4
*/
count?: number;
};
}