mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 19:27:44 +08:00
f17533ab11
* Table: fix params order of row events (#12086) * Timeline: add timeline component (#11736) * Timeline: add timeline component * Timeline: add timeline component * Timeline: add test case * Timeline: fix icon class * Timeline: update docs * Timeline: fix test case * Timeline: remove pending attribute * Timeline: fix docs * Timeline: make reverse default to false * Timline: fix test case * Timeline: update element-ui.d.ts * Timeline: optimize code
21 lines
486 B
TypeScript
21 lines
486 B
TypeScript
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
|
|
}
|