/** * @file 组件 timeline * @author chenkai13 */ import './style/index.less'; import Base from 'santd/base'; import Item from './Item'; import Icon from '../icon'; import { ITimelineProps } from './interface'; interface ITimelineMessages { santd_timeline_addItem?: (this: Timeline, payload: { value: any; }) => void; } export default class Timeline extends Base { items?: Item[]; _repaintChildren?: () => void; static Item: typeof Item; static computed: { classes(this: Timeline): string[]; }; initData(): ITimelineProps; updated(): void; inited(): void; attached(): void; getPositionCls(child: Item, index: number): string; static messages: ITimelineMessages; static components: { 's-item': typeof Item; 's-icon': typeof Icon; }; static template: string; } export {};