IDataListKVItemValueComponent

interface
Data Display

Dynamic-component descriptor for a KV row value. Used when a consumer wants the value cell of <OrigamDataList mode="kv"> to render a registered Origam component (chip, avatar, link…) without writing a slot.

TypeScript

Definition

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

typescript

API

Properties

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

component
required
string | object
The Vue component itself (imported) or a registered global tag name (e.g. "origam-chip").
props
Record<string, unknown>
Props forwarded as-is to the resolved component.
children
string | number
Content rendered inside the component default slot — handy for components that take their text as a slot rather than a prop.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Rendering a chip in a KV value cell

typescript