Skip to content

Timeline 时间轴

垂直展示的时间流信息。

示例

反向展示

API

属性说明类型默认值
items节点列表TimelineItem[]-
reverse是否反向展示节点booleanfalse

TimelineItem

属性说明类型默认值
key唯一标识string-
title标题ReactNode-
description描述ReactNode-
timestamp时间信息ReactNode-
color节点颜色'brand' | 'success' | 'warning' | 'danger''brand'