UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

82 lines (81 loc) 2.67 kB
import type { RendererNode, RendererElement, VNode, PropType, ExtractPropTypes } from 'vue'; import type { NotificationType, NotificationPlacementType } from './interface'; export declare const Props: { readonly id: { readonly type: StringConstructor; readonly default: () => string; }; readonly title: { readonly type: PropType<string | VNode<RendererNode, RendererElement, { [key: string]: any; }>>; readonly default: () => string; }; readonly message: { readonly type: PropType<string | VNode<RendererNode, RendererElement, { [key: string]: any; }>>; readonly default: () => string; readonly required: true; }; readonly type: { readonly type: PropType<NotificationType>; readonly default: () => NotificationType; readonly validator: (val: NotificationType) => boolean; }; readonly close: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly duration: { readonly type: NumberConstructor; readonly default: () => number; }; readonly round: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly showIcon: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly icon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }>>; readonly default: () => null; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly background: { readonly type: StringConstructor; readonly default: () => string; }; readonly offset: { readonly type: NumberConstructor; readonly default: () => number; }; readonly placement: { readonly type: PropType<NotificationPlacementType>; readonly default: () => NotificationPlacementType; readonly validator: (val: NotificationPlacementType) => boolean; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: () => number; }; readonly closeBtn: { readonly type: PropType<string | VNode<RendererNode, RendererElement, { [key: string]: any; }>>; readonly default: () => null; }; readonly closeEnd: { readonly type: FunctionConstructor; readonly default: () => null; }; }; export declare const Emits: string[]; export declare type NotificationPropsType = ExtractPropTypes<typeof Props>;