UNPKG

@artmate/chat

Version:

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

40 lines (39 loc) 1.42 kB
import { SenderProps } from './interface'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: {}): any; prefix?(_: {}): any; components?(_: {}): any; actions?(_: {}): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<SenderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { onSubmit: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<SenderProps> & Readonly<{ onOnSubmit?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { onChange: (value: string) => void; disabled: boolean; rootClassName: string; loading: boolean; classNames: { actions?: string; input?: string; prefix?: string; }; submitType: import('./interface').SubmitType; onKeyPress: (e: KeyboardEvent) => void; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };