@minto-ai/mt-ui
Version:
UI组件库
72 lines (71 loc) • 1.91 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
showConfirm: {
type: BooleanConstructor;
default: boolean;
};
confirmText: {
type: StringConstructor;
default: string;
};
showCancel: {
type: BooleanConstructor;
default: boolean;
};
cancelText: {
type: StringConstructor;
default: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
cancel: () => any;
confirm: () => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
showConfirm: {
type: BooleanConstructor;
default: boolean;
};
confirmText: {
type: StringConstructor;
default: string;
};
showCancel: {
type: BooleanConstructor;
default: boolean;
};
cancelText: {
type: StringConstructor;
default: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onCancel?: (() => any) | undefined;
onConfirm?: (() => any) | undefined;
}>, {
loading: boolean;
showConfirm: boolean;
confirmText: string;
showCancel: boolean;
cancelText: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};