Component docs
Loading
import { MediaStage } from "@pixxl-tools/components";
// In Server Components:
import { MediaStage } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
aspectRatio | string | — | — |
fit | "contain" | "cover" | — | — |
aspectRatiostring
fit"contain" | "cover"
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<MediaStage />