tdesign-vue-next
Version:
TDesign Component for vue-next
37 lines (36 loc) • 1.09 kB
TypeScript
import { TdNotificationProps } from './type';
import { PropType } from 'vue';
declare const _default: {
closeBtn: {
type: PropType<TdNotificationProps["closeBtn"]>;
default: TdNotificationProps["closeBtn"];
};
content: {
type: PropType<TdNotificationProps["content"]>;
};
default: {
type: PropType<TdNotificationProps["default"]>;
};
duration: {
type: NumberConstructor;
default: number;
};
footer: {
type: PropType<TdNotificationProps["footer"]>;
};
icon: {
type: PropType<TdNotificationProps["icon"]>;
default: TdNotificationProps["icon"];
};
theme: {
type: PropType<TdNotificationProps["theme"]>;
default: TdNotificationProps["theme"];
validator(val: TdNotificationProps["theme"]): boolean;
};
title: {
type: PropType<TdNotificationProps["title"]>;
};
onCloseBtnClick: PropType<TdNotificationProps["onCloseBtnClick"]>;
onDurationEnd: PropType<TdNotificationProps["onDurationEnd"]>;
};
export default _default;