element-plus
Version:
A Component Library for Vue 3
39 lines (38 loc) • 1.36 kB
TypeScript
import { IconPropType } from "../../../utils/vue/icon.js";
import { NotificationPosition, NotificationProps, NotificationType } from "./notification.js";
import * as _$vue from "vue";
//#region ../../packages/components/notification/src/notification.vue.d.ts
declare function close(): void;
declare var __VLS_21: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_21) => any;
};
declare const __VLS_base: _$vue.DefineComponent<NotificationProps, {
visible: _$vue.Ref<boolean, boolean>; /** @description close notification */
close: typeof close;
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
destroy: () => void;
}, string, _$vue.PublicProps, Readonly<NotificationProps> & Readonly<{
onDestroy?: (() => any) | undefined;
}>, {
title: string;
type: NotificationType;
offset: number;
position: NotificationPosition;
duration: number;
onClick: () => void;
id: string;
message: string | _$vue.VNode | (() => _$vue.VNode);
closeIcon: IconPropType;
showClose: boolean;
customClass: string;
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//#endregion
export { _default as default };