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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

component
requis
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.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Rendering a chip in a KV value cell

typescript