mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
// Project: https://github.com/vueComponent/ant-design-vue
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
import { VNodeChild } from 'vue';
|
|
import { AntdComponent } from '../component';
|
|
import { TimelineItem } from './timeline-item';
|
|
|
|
export declare class Timeline extends AntdComponent {
|
|
static Item: typeof TimelineItem;
|
|
|
|
$props:{
|
|
/**
|
|
* Set the last ghost node's existence or its content
|
|
* @default false
|
|
* @type any (boolean | string | slot)
|
|
*/
|
|
pending?: boolean | VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
* Set the dot of the last ghost node when pending is true
|
|
* @default <LoadingOutlined />
|
|
* @type any (string | slot)
|
|
*/
|
|
pendingDot?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
* reverse nodes or not
|
|
* @default false
|
|
* @type boolean
|
|
*/
|
|
reverse?: boolean;
|
|
|
|
/**
|
|
* By sending alternate the timeline will distribute the nodes to the left and right.
|
|
* @default 'left'
|
|
* @type string
|
|
*/
|
|
mode?: 'left' | 'alternate' | 'right';
|
|
}
|
|
}
|