element/types/timeline-item.d.ts

21 lines
486 B
TypeScript
Raw Normal View History

import { ElementUIComponent } from './component'
export type TimelineItemPlacement = 'top' | 'bottom'
export type TimelineItemType = 'primary' | 'success' | 'warning' | 'danger' | 'info'
export type TimelineItemSize = 'normal' | 'large'
/** TimelineItem Component */
export declare class ElTimelineItem extends ElementUIComponent {
timestamp: string
hideTimestamp: boolean
placement: TimelineItemPlacement
type: TimelineItemType
size: TimelineItemSize
icon: string
}