tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
38 lines (37 loc) • 1.24 kB
TypeScript
import type { Type, Size } 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 size: {
readonly type: PropType<Size>;
readonly validator: (v: Size) => boolean;
};
readonly round: BooleanConstructor;
readonly isClose: BooleanConstructor;
}, {
props: any;
emit: (event: "close", ...args: any[]) => void;
isClass: ComputedRef<(string | object)[]>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly type?: unknown;
readonly size?: unknown;
readonly round?: unknown;
readonly isClose?: unknown;
} & {
type: Type;
round: boolean;
isClose: boolean;
} & {
size?: Size | undefined;
}> & {
onClose?: ((...args: any[]) => any) | undefined;
}, {
type: Type;
round: boolean;
isClose: boolean;
}>;
export default _sfc_main;