TTimelineItem / 时间轴项
TimelineItem represents a single event in a timeline. Supports timestamp, title, description, icon, color, hollow style, and loading state. / 时间轴项表示时间轴中的单个事件,支持时间戳、标题、描述、图标、颜色、空心样式和加载状态。
Props / 属性
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Item title |
timestamp | string | — | Timestamp text |
description | string | — | Description |
color | string | — | Dot color |
icon | Component | — | Custom icon |
hollow | boolean | false | Hollow dot style |
loading | boolean | false | Loading state |
Basic Usage / 基础用法
vue
<template>
<TTimelineItem title="Event" timestamp="2026-06-25" description="Description" />
</template>