@minto-ai/mt-ui
Version:
UI组件库
158 lines (157 loc) • 5.39 kB
TypeScript
export declare const MtCell: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly width: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
readonly height: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
}>> & Readonly<{
onClick?: (() => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: () => any;
}, import('vue').PublicProps, {
readonly clickable: boolean;
readonly link: boolean;
readonly title: string;
readonly width: string | number;
readonly height: string | number;
readonly icon: string;
readonly description: string;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly width: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
readonly height: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
}>> & Readonly<{
onClick?: (() => any) | undefined;
}>, {}, {}, {}, {}, {
readonly clickable: boolean;
readonly link: boolean;
readonly title: string;
readonly width: string | number;
readonly height: string | number;
readonly icon: string;
readonly description: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly width: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
readonly height: {
readonly type: import('vue').PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
}>> & Readonly<{
onClick?: (() => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
click: () => any;
}, string, {
readonly clickable: boolean;
readonly link: boolean;
readonly title: string;
readonly width: string | number;
readonly height: string | number;
readonly icon: string;
readonly description: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
icon: any;
title: any;
description: any;
right: {
isHover: boolean;
};
}> & {
icon: any;
title: any;
description: any;
right: {
isHover: boolean;
};
};
}) & import('vue').Plugin;
export default MtCell;