ITimelineEntry
interface
Data Models
Shape of a single timeline data item. Passed via the items prop of OrigamTimeline to render each dot, its optional icon, title, subtitle, and description automatically.
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.
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.
- titlerequisstring
- Primary label rendered next to the timeline dot.
- subtitlestring
- Secondary label rendered below the title.
- descriptionstring
- Longer body text rendered below the subtitle.
- iconTIcon
- MDI icon name rendered inside the timeline dot.
- intentTIntent
- Semantic intent that colors the dot (primary, success, danger, warning, info, neutral).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Timeline driven by an ITimelineEntry array