UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

21 lines (20 loc) 691 B
import { InjectionKey } from 'vue'; export type TimelineItemType = 'primary' | 'info' | 'success' | 'error' | 'warning' | 'disabled'; export interface ItemState { label: string | number; index: number; total: number; height: number; } export interface TimelineState { dashed: boolean; lineColor: string; spacing: number | string; alternate: boolean; horizontal: boolean; increaseItem: (item: ItemState) => void; decreaseItem: (item: ItemState) => void; handleSignalClick: (label: string | number) => void; } export declare const TIMELINE_STATE: InjectionKey<TimelineState>; export declare const timelineItemTypes: readonly TimelineItemType[];