@userfrosting/theme-pink-cupcake
Version:
Pink Cupcake Theme for UserFrosting
33 lines (32 loc) • 1.27 kB
TypeScript
import { AlertInterface } from '@userfrosting/sprinkle-core/interfaces';
/**
* N.B.: This component uses a complex prop type instead of individual props
* because the common use case for it is to display an alert from an API.
* Using a single object makes it easier to pass data from the API.
*
* @see https://vuejs.org/guide/typescript/composition-api#complex-prop-types
*/
type __VLS_Props = {
alert: AlertInterface;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onClose?: ((...args: any[]) => 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;
};
};