IDataListProps

interface
Component Props

Full props contract for <OrigamDataList> — a versatile list component that supports two layout modes: "avatar" (classic dl stack) and "kv" (PDF-aligned key/value table), with the full design surface.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

mode
TDataListMode
Layout selector: "avatar" (default, dl layout with title+text rows) or "kv" (PDF-aligned key/value table).
items
| Array<IDataItem> | { [key: string]: IDataItem } | Array<IDataListKVItem> | { [key: string]: IDataListKVItem }
Source list. Shape depends on mode: IDataItem for "avatar", IDataListKVItem for "kv".

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

DataList in kv mode

vue