ITimelineProps
interface
Component Props
Full props contract for <OrigamTimeline>. Supports vertical and horizontal orientations, data-driven rendering via items, side alignment, and the full color/size/density surface.
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.
- itemsITimelineEntry[]
- Data array driving automatic item rendering. Each entry maps to an OrigamTimelineItem.
- orientationTTimelineOrientation
- Layout direction: vertical (default, top to bottom) or horizontal (left to right with scroll-snap).
- sideTTimelineSide
- Default side for item content relative to the connector line.
- truncateLineboolean
- Hide the trailing connector line after the last item.
- ariaLabelstring
- Accessible label for the timeline landmark (aria-label on the root element).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Horizontal timeline with alternating sides