UNPKG

@artmate/chat

Version:

借鉴字节开源react库AntX,通过vue实现的版本

53 lines (52 loc) 1.75 kB
import { BubbleDataType, BubbleListProps, scrollTopParameters } from './interface'; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ avatar?(slotProps: { info: BubbleDataType; }): void; header?(slotProps: { info: BubbleDataType; }): void; loading?(slotProps: { info: BubbleDataType; }): void; footer?(slotProps: { info: BubbleDataType; }): void; }> & { avatar?(slotProps: { info: BubbleDataType; }): void; header?(slotProps: { info: BubbleDataType; }): void; loading?(slotProps: { info: BubbleDataType; }): void; footer?(slotProps: { info: BubbleDataType; }): void; }; refs: { listRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<BubbleListProps, { nativeElement: HTMLElement | undefined; scrollTo: ({ key, offset, behavior, block }: scrollTopParameters) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BubbleListProps> & Readonly<{}>, { items: BubbleDataType[]; autoScroll: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { listRef: 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; }; };