mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(aspect-ratio): add AspectRatio component
This commit is contained in:
parent
ba78105c10
commit
3dfbd6dfc9
6 changed files with 117 additions and 1 deletions
12
types/index.d.ts
vendored
12
types/index.d.ts
vendored
|
@ -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: {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue