UNPKG

tyh-ui2

Version:

The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.

54 lines (53 loc) 1.69 kB
import type { Type } from './interface'; import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance } from 'vue'; declare const _sfc_main: DefineComponent<{ readonly message: StringConstructor; readonly type: { readonly type: PropType<Type>; readonly default: () => Type; readonly validator: (v: Type) => boolean; }; readonly showClose: BooleanConstructor; readonly time: { readonly type: NumberConstructor; readonly default: () => number; }; readonly offset: { readonly type: NumberConstructor; readonly default: () => number; }; readonly icon: StringConstructor; readonly round: BooleanConstructor; }, { props: any; isShow: Ref<boolean>; timer: any; close: () => void; instance: ComponentInternalInstance; leave: () => void; isClass: ComputedRef<(string | object)[]>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly message?: unknown; readonly type?: unknown; readonly showClose?: unknown; readonly time?: unknown; readonly offset?: unknown; readonly icon?: unknown; readonly round?: unknown; } & { type: Type; round: boolean; showClose: boolean; time: number; offset: number; } & { icon?: string | undefined; message?: string | undefined; }>, { type: Type; round: boolean; showClose: boolean; time: number; offset: number; }>; export default _sfc_main;