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.

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.

title
requis
string
Primary label rendered next to the timeline dot.
subtitle
string
Secondary label rendered below the title.
description
string
Longer body text rendered below the subtitle.
icon
TIcon
MDI icon name rendered inside the timeline dot.
intent
TIntent
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

typescript