@oiij/naive-ui
Version:
Som Composable Functions And Components for Vue 3
50 lines (49 loc) • 1.55 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
avatar?(_: {}): any;
header?(_: {}): any;
loading?(_: {}): any;
default?(_: {}): any;
footer?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<{
avatar?: {
icon?: import('vue').VNodeChild;
props?: import('naive-ui').AvatarProps;
};
content?: string;
contentClass?: string;
contentStyle?: import('vue').CSSProperties;
loading?: boolean;
typing?: boolean;
markdown?: boolean;
placement?: "start" | "end";
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
typingComplete: () => any;
}, string, import('vue').PublicProps, Readonly<{
avatar?: {
icon?: import('vue').VNodeChild;
props?: import('naive-ui').AvatarProps;
};
content?: string;
contentClass?: string;
contentStyle?: import('vue').CSSProperties;
loading?: boolean;
typing?: boolean;
markdown?: boolean;
placement?: "start" | "end";
}> & Readonly<{
onTypingComplete?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};