Documentation / Components · Chat

ConversationLayout

Arrange a conversation and supporting panels..

ROM UI 0.1.0-alpha.7 Markdown

Arrange a conversation and supporting panels.

Public import

svelte
<script lang="ts">
  import { ConversationLayout } from "rom-ui/chat";
  import "rom-studio/styles";
</script>

Composition and responsibility

The host supplies data, callbacks and application policy. The component does not provide persistence or authorization.

Public names: ConversationLayout.

Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

ts
type Props = {
    label: string;
    bodyLabel: string;
    header: Snippet;
    history?: Snippet;
    body: Snippet;
    footer: Snippet;
    expansion?: { expandLabel: string; collapseLabel: string };
    expanded?: boolean;
    bodyRef?: HTMLDivElement | null;
  };

Source and version

ROM UI 0.1.0-alpha.7. Component source.

See the composition guide for host integration boundaries.

This page follows the captured repository source.View the source