mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
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
|
||
|
}
|