tdesign-vue-next
Version:
TDesign Component for vue-next
18 lines (17 loc) • 629 B
TypeScript
import { InjectionKey, ComputedRef } from 'vue';
import { TdTimelineProps } from '../type';
export declare const DefaultAlign: {
vertical: string[];
horizontal: string[];
};
export interface TimelineProvider {
theme: TdTimelineProps['theme'];
reverse: TdTimelineProps['reverse'];
itemsStatus: string[];
layout: TdTimelineProps['layout'];
globalAlign?: TdTimelineProps['labelAlign'];
mode?: TdTimelineProps['mode'];
renderAlign: string;
}
export declare const TimelineInjectKey: InjectionKey<ComputedRef<TimelineProvider>>;
export declare const DEFAULT_PROVIDER: ComputedRef<TimelineProvider>;