@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
31 lines (30 loc) • 1.32 kB
TypeScript
import type { PropType } from 'vue';
import { NotificationItem } from './interface';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
notifications: {
type: PropType<NotificationItem[]>;
default: () => never[];
};
position: {
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
default: string;
validator: (value: any) => boolean;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "afterClose")[], "close" | "afterClose", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
notifications: {
type: PropType<NotificationItem[]>;
default: () => never[];
};
position: {
type: PropType<"topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
default: string;
validator: (value: any) => boolean;
};
}>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
onAfterClose?: ((...args: any[]) => any) | undefined;
}>, {
position: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
notifications: NotificationItem[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;