@squirrel-cloud/ui-vue
Version:
松鼠的坚果屋前端VUE框架
32 lines (31 loc) • 493 B
TypeScript
import { Component } from 'vue';
import { ComponentType } from '../../typings';
/**
* 时间线项目属性
*/
export interface TimelineItemProps {
/**
* 节点颜色
*/
color?: string;
/**
* 节点类型
*/
type?: ComponentType;
/**
* 节点图标
*/
icon?: Component;
/**
* 是否空心
*/
hollow?: boolean;
/**
* 时间戳
*/
timestamp?: string;
/**
* 标题
*/
title?: string;
}