UNPKG

vue-amazing-ui

Version:

An Amazing Vue3 UI Components Library, Using TypeScript.

46 lines (45 loc) 1.43 kB
export interface Item { desc: string; color?: 'blue' | 'green' | 'red' | 'gray' | string; } export interface Props { items?: Item[]; width?: number | string; lineStyle?: 'solid' | 'dashed' | 'dotted'; mode?: 'left' | 'center' | 'right'; position?: 'left' | 'right'; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { dot?(_: { item: Item; index: number; }): any; desc?(_: { item: Item; index: number; }): any; }; refs: { descRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, { mode: "left" | "center" | "right"; width: number | string; position: "left" | "right"; items: Item[]; lineStyle: "solid" | "dashed" | "dotted"; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { descRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };