ITimelineItemProps

interface
Component Props

Props contract for <OrigamTimelineItem>. Carries the per-item visual and layout configuration including title, subtitle, icon, intent, and layout context inherited from the parent OrigamTimeline.

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

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

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.

title
string
Primary label rendered next to the timeline dot.
subtitle
string
Secondary label rendered below the title.
description
string
icon
TIcon
MDI icon name rendered inside the timeline dot.
intent
TIntent
Semantic intent that colors the dot (primary, success, danger, warning, info, neutral).
isLast
boolean
Whether this is the last item in the timeline. Hides the trailing connector line when true.
truncateLine
boolean
Inherited from the parent context. When true the last connecting line is hidden.
side
TTimelineSide
Layout side for content: left, right, or alternating. Inherited from parent context.
orientation
TTimelineOrientation
Layout direction forwarded by the parent OrigamTimeline. Defaults to vertical when unset.
index
number
Zero-based position of this item in the parent items array. Used to compute alternating side.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Standalone timeline item with intent

vue