Component docs
Loading
import { MediaShell } from "@pixxl-tools/components";
// In Server Components:
import { MediaShell } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
controls | ReactNode | — | — |
footer | ReactNode | — | Footer slot. |
title | ReactNode | — | Title (any content). |
controlsReactNode
footerReactNode
Footer slot.
titleReactNode
Title (any content).
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<MediaShell>...</MediaShell>