tdesign-mobile-vue
Version:
tdesign-mobile-vue
97 lines (96 loc) • 3.68 kB
TypeScript
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
error: {
type: import("vue").PropType<import("@/components").TdImageProps['error']>;
};
fallback: {
type: StringConstructor;
default: string;
};
fit: {
type: import("vue").PropType<import("@/components").TdImageProps['fit']>;
default: import("@/components").TdImageProps['fit'];
validator(val: import("@/components").TdImageProps['fit']): boolean;
};
lazy: BooleanConstructor;
loading: {
type: import("vue").PropType<import("@/components").TdImageProps['loading']>;
};
position: {
type: StringConstructor;
default: string;
};
referrerpolicy: {
type: import("vue").PropType<import("@/components").TdImageProps['referrerpolicy']>;
validator(val: import("@/components").TdImageProps['referrerpolicy']): boolean;
};
shape: {
type: import("vue").PropType<import("@/components").TdImageProps['shape']>;
default: import("@/components").TdImageProps['shape'];
validator(val: import("@/components").TdImageProps['shape']): boolean;
};
src: {
type: StringConstructor;
default: string;
};
srcset: {
type: import("vue").PropType<import("@/components").TdImageProps['srcset']>;
};
onError: import("vue").PropType<import("@/components").TdImageProps['onError']>;
onLoad: import("vue").PropType<import("@/components").TdImageProps['onLoad']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
alt: {
type: StringConstructor;
default: string;
};
error: {
type: import("vue").PropType<import("@/components").TdImageProps['error']>;
};
fallback: {
type: StringConstructor;
default: string;
};
fit: {
type: import("vue").PropType<import("@/components").TdImageProps['fit']>;
default: import("@/components").TdImageProps['fit'];
validator(val: import("@/components").TdImageProps['fit']): boolean;
};
lazy: BooleanConstructor;
loading: {
type: import("vue").PropType<import("@/components").TdImageProps['loading']>;
};
position: {
type: StringConstructor;
default: string;
};
referrerpolicy: {
type: import("vue").PropType<import("@/components").TdImageProps['referrerpolicy']>;
validator(val: import("@/components").TdImageProps['referrerpolicy']): boolean;
};
shape: {
type: import("vue").PropType<import("@/components").TdImageProps['shape']>;
default: import("@/components").TdImageProps['shape'];
validator(val: import("@/components").TdImageProps['shape']): boolean;
};
src: {
type: StringConstructor;
default: string;
};
srcset: {
type: import("vue").PropType<import("@/components").TdImageProps['srcset']>;
};
onError: import("vue").PropType<import("@/components").TdImageProps['onError']>;
onLoad: import("vue").PropType<import("@/components").TdImageProps['onLoad']>;
}>> & Readonly<{}>, {
alt: string;
fallback: string;
fit: "contain" | "cover" | "fill" | "none" | "scale-down";
lazy: boolean;
position: string;
shape: "circle" | "round" | "square";
src: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;