UNPKG

ppui

Version:

A high quality UI components Library with Vue.js

35 lines (32 loc) 745 B
// Type definitions for ppui 3.3.1 // Project:https://gitee.com/hejc/ppui // Definitions by: yangdan // Definitions: https://github.com/yangdan8/ppui.git import Vue, { VNode } from 'vue'; export declare class Timeline extends Vue { /** * 指定是否最后一个节点为幽灵节点 * @default false */ pending?: boolean; } export declare class TimelineItem extends Vue { /** * 圆圈颜色,可选值为blue、red、green,或自定义色值 * @default blue */ color?: 'blue' | 'red' | 'green' | string; /** * slot插槽对象 */ $slots: { /** * 基本内容 */ '': VNode[]; /** * 自定义时间轴点内容 */ dot: VNode[]; }; }