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.
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.
- titlestring
- Primary label rendered next to the timeline dot.
- subtitlestring
- Secondary label rendered below the title.
- descriptionstring
- iconTIcon
- MDI icon name rendered inside the timeline dot.
- intentTIntent
- Semantic intent that colors the dot (primary, success, danger, warning, info, neutral).
- isLastboolean
- Whether this is the last item in the timeline. Hides the trailing connector line when true.
- truncateLineboolean
- Inherited from the parent context. When true the last connecting line is hidden.
- sideTTimelineSide
- Layout side for content: left, right, or alternating. Inherited from parent context.
- orientationTTimelineOrientation
- Layout direction forwarded by the parent OrigamTimeline. Defaults to vertical when unset.
- indexnumber
- 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