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.61 kB
TypeScript
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
declare const _sfc_main: DefineComponent<{
readonly title: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly content: StringConstructor;
readonly icon: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
emit: (event: "back", ...args: any[]) => void;
TyhIcon: DefineComponent<{
readonly icon: StringConstructor;
readonly color: StringConstructor;
readonly size: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly icon?: unknown;
readonly color?: unknown;
readonly size?: unknown;
} & {
size: string;
} & {
icon?: string | undefined;
color?: string | undefined;
}>, {
size: string;
}>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "back"[], "back", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly title?: unknown;
readonly content?: unknown;
readonly icon?: unknown;
} & {
icon: string;
title: string;
} & {
content?: string | undefined;
}> & {
onBack?: ((...args: any[]) => any) | undefined;
}, {
icon: string;
title: string;
}>;
export default _sfc_main;