feat(aspect-ratio): add AspectRatio component

This commit is contained in:
Eric Liu 2020-10-14 17:28:55 -07:00
commit 3dfbd6dfc9
6 changed files with 117 additions and 1 deletions

12
types/index.d.ts vendored
View file

@ -97,6 +97,18 @@ export class AccordionSkeleton extends CarbonSvelteComponent {
};
}
export class AspectRatio extends CarbonSvelteComponent {
$$prop_def: {
/**
* Specify the aspect ratio
* @default "2x1"
*/
ratio?: "2x1" | "16x9" | "4x3" | "1x1" | "3x4" | "9x16" | "1x2";
};
$$slot_def: { default: {} };
}
export class Breadcrumb extends CarbonSvelteComponent {
$$prop_def: {
/**