feat(content-switcher): add "sm", "xl" size variants

This commit is contained in:
Eric Liu 2020-10-15 16:31:07 -07:00
commit 3edf9ea2a2
4 changed files with 34 additions and 5 deletions

7
types/index.d.ts vendored
View file

@ -261,7 +261,7 @@ export class ButtonSkeleton extends CarbonSvelteComponent {
size?: "default" | "field" | "small";
/**
*
* Set to `true` to use the small variant
* @default false
*/
small?: boolean;
@ -717,6 +717,11 @@ export class ContentSwitcher extends CarbonSvelteComponent {
* @default false
*/
light?: boolean;
/**
* Specify the size of the content switcher
*/
size?: "sm" | "xl";
};
$$slot_def: { default: {} };