UNPKG

bits-ui

Version:

The headless components for Svelte.

12 lines (11 loc) 450 B
import type { WithChild, Without } from "../../internal/types.js"; import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; export type AspectRatioRootPropsWithoutHTML = WithChild<{ /** * The aspect ratio of the image. * * @defaultValue 1 */ ratio?: number; }>; export type AspectRatioRootProps = AspectRatioRootPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, AspectRatioRootPropsWithoutHTML>;