Updated AspectRatio documentation

This commit is contained in:
mabentley85 2024-04-02 15:49:32 -07:00
commit 3bdb9baa8a
4 changed files with 8 additions and 10 deletions

View file

@ -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?: