vue-amazing-ui
Version:
An Amazing Vue3 UI Components Library, Using TypeScript.
36 lines (35 loc) • 1.24 kB
TypeScript
import { Slot } from 'vue';
export interface Props {
icon?: Slot;
status?: 'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500';
title?: string;
subTitle?: string;
extra?: string;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
icon?(_: {}): any;
title?(_: {}): any;
subTitle?(_: {}): any;
extra?(_: {}): any;
default?(_: {}): any;
};
refs: {};
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<{}>, {
title: string;
icon: Slot;
status: "success" | "error" | "info" | "warning" | "404" | "403" | "500";
extra: string;
subTitle: string;
}, {}, {}, {}, 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;
};
};