Documentation / Components · Primitives

AttachmentMedia

AttachmentMedia renders the attachment media part of the attachment composition..

ROM UI 0.1.0-alpha.8 · ROM 0.1.5 Markdown

AttachmentMedia renders the attachment media part of the attachment composition.

Public import

svelte
<script lang="ts">
  import { AttachmentMedia } from "rom-ui/primitives/attachment";
  import "rom-studio/styles";
</script>

Composition and responsibility

Use this part with exports from the same primitive family. Interactive roots own shared interaction state. Content parts render the corresponding region.

Public names: Media, AttachmentMedia.

Source and version

ROM UI 0.1.0-alpha.8, published ROM 0.1.5 integration. Archive SHA-256: bf6620cd2467f45ce5afc5e803f88bb2401f9c609c58616aaf14b9f887876255. Source: src/lib/components/ui/attachment/attachment-media.svelte.

See the composition guide for host integration boundaries.

This page follows the captured repository source.View the source