xdesign-vue-next
Version:
XDesign Component for vue-next
39 lines (38 loc) • 1.3 kB
TypeScript
import { TdNotificationProps } from './type';
import { PropType } from 'vue';
declare const _default: {
closeBtn: {
type: PropType<string | boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
default: any;
};
content: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
default: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
duration: {
type: NumberConstructor;
default: number;
};
footer: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
icon: {
type: PropType<boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
default: boolean;
};
theme: {
type: PropType<import("./type").NotificationThemeList>;
default: import("./type").NotificationThemeList;
validator(val: TdNotificationProps['theme']): boolean;
};
title: {
type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
};
onCloseBtnClick: PropType<(context: {
e: MouseEvent;
}) => void>;
onDurationEnd: PropType<() => void>;
};
export default _default;