2019-01-01 04:13:51 +00:00
|
|
|
// 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
|
|
|
|
|
2020-08-17 11:21:58 +00:00
|
|
|
import { VNodeChild } from 'vue';
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from '../component';
|
2019-01-12 03:33:27 +00:00
|
|
|
import { TimelineItem } from './timeline-item';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class Timeline extends AntdComponent {
|
2019-01-19 10:56:33 +00:00
|
|
|
static Item: typeof TimelineItem;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-17 11:21:58 +00:00
|
|
|
/**
|
|
|
|
* Set the last ghost node's existence or its content
|
|
|
|
* @default false
|
|
|
|
* @type any (boolean | string | slot)
|
|
|
|
*/
|
|
|
|
pending?: boolean | VNodeChild | JSX.Element;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 11:21:58 +00:00
|
|
|
/**
|
|
|
|
* Set the dot of the last ghost node when pending is true
|
|
|
|
* @default <LoadingOutlined />
|
|
|
|
* @type any (string | slot)
|
|
|
|
*/
|
|
|
|
pendingDot?: VNodeChild | JSX.Element;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 11:21:58 +00:00
|
|
|
/**
|
|
|
|
* reverse nodes or not
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
reverse?: boolean;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-17 11:21:58 +00:00
|
|
|
/**
|
|
|
|
* By sending alternate the timeline will distribute the nodes to the left and right.
|
|
|
|
* @default 'left'
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
mode?: 'left' | 'alternate' | 'right';
|
2020-08-30 14:59:47 +00:00
|
|
|
};
|
2019-01-01 04:13:51 +00:00
|
|
|
}
|