tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
49 lines (48 loc) • 1.65 kB
TypeScript
import type { Type } from './interface';
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
declare const _sfc_main: DefineComponent<{
readonly type: {
readonly type: PropType<Type>;
readonly default: () => Type;
readonly validator: (v: Type) => boolean;
};
readonly prohibit: BooleanConstructor;
readonly url: StringConstructor;
readonly underline: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly target: StringConstructor;
readonly icon: StringConstructor;
}, {
prop: Readonly<{
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
type: Type;
icon: string | undefined;
prohibit: boolean;
url: string | undefined;
underline: boolean;
target: string | undefined;
}>;
isClass: ComputedRef<(string | object)[]>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly type?: unknown;
readonly prohibit?: unknown;
readonly url?: unknown;
readonly underline?: unknown;
readonly target?: unknown;
readonly icon?: unknown;
} & {
type: Type;
prohibit: boolean;
underline: boolean;
} & {
icon?: string | undefined;
url?: string | undefined;
target?: string | undefined;
}>, {
type: Type;
prohibit: boolean;
underline: boolean;
}>;
export default _sfc_main;