UNPKG

tyh-ui2

Version:

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

51 lines (50 loc) 1.66 kB
import type { alertType } from './interface'; import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; declare const _sfc_main: DefineComponent<{ readonly type: { readonly type: PropType<alertType>; readonly default: () => alertType; readonly validator: (v: alertType) => boolean; }; readonly message: StringConstructor; readonly icon: StringConstructor; readonly close: BooleanConstructor; readonly center: BooleanConstructor; readonly simple: BooleanConstructor; }, { prop: Readonly<{ type: alertType; icon: string | undefined; simple: boolean; close: boolean; onClose: ((...args: any[]) => any) | undefined; center: boolean; message: string | undefined; }>; emit: (event: "close", ...args: any[]) => void; isClass: ComputedRef<object | string[]>; close: () => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly type?: unknown; readonly message?: unknown; readonly icon?: unknown; readonly close?: unknown; readonly center?: unknown; readonly simple?: unknown; } & { type: alertType; simple: boolean; close: boolean; center: boolean; } & { icon?: string | undefined; message?: string | undefined; }> & { onClose?: ((...args: any[]) => any) | undefined; }, { type: alertType; simple: boolean; close: boolean; center: boolean; }>; export default _sfc_main;