mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Updated AspectRatio documentation
This commit is contained in:
parent
286f014df4
commit
3bdb9baa8a
4 changed files with 8 additions and 10 deletions
8
types/AspectRatio/AspectRatio.svelte.d.ts
vendored
8
types/AspectRatio/AspectRatio.svelte.d.ts
vendored
|
@ -1,11 +1,9 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
type RestProps = SvelteHTMLElements["div"];
|
||||
|
||||
export interface AspectRatioProps extends RestProps {
|
||||
export interface AspectRatioProps {
|
||||
/**
|
||||
* Specify the aspect ratio
|
||||
* Specify the ratio to be used by the aspect ratio container.
|
||||
* This will determine what aspect ratio your content will be displayed in.
|
||||
* @default "2x1"
|
||||
*/
|
||||
ratio?:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue