mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(content-switcher): add "sm", "xl" size variants
This commit is contained in:
parent
f692403fcc
commit
3edf9ea2a2
4 changed files with 34 additions and 5 deletions
7
types/index.d.ts
vendored
7
types/index.d.ts
vendored
|
@ -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: {} };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue