Timeline 时间轴
基础用法
TimelineItem API
TimelineItem Props
属性名 | 描述 | 类型 | 默认值 |
---|
timestamp | 时间戳 | string | '' |
type | 时间轴类型 | enum | false |
hollow | Tag的尺寸 | boolean | false |
center | 是否居中 | boolean | false |
hideTimestamp | 是否隐藏时间戳 | boolean | false |
placement | 时间轴位置 | enum | 'bottom' |
size | 时间轴大小 | enum | 'normal' |
color | 自定义颜色 | enum | light |
icon | 自定义图标 | string 、Component | —— |
上次更新时间: