Documentation / Components · Compositions

HistoryList

Present entries from a host-owned history..

ROM UI 0.1.0-alpha.7 Markdown

Present entries from a host-owned history.

Public import

svelte
<script lang="ts">
  import { HistoryList } from "rom-ui/ui/components";
  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: HistoryList.

Declared props

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

ts
type Props = {
    entries: readonly HistoryEntry[];
    selectedId: string | null;
    onSelect: (id: string) => void | Promise<void>;
    messages: MessageResolver;
    locale: string;
    empty: string;
    label: string;
    authorityToken: unknown;
    maxEntries?: number;
    timeZone?: string;
    disabled?: boolean;
  };

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