tdesign-mobile-vue
Version:
tdesign-mobile-vue
48 lines (47 loc) • 1.24 kB
TypeScript
import { TdImageProps } from './type';
import { PropType } from 'vue';
declare const _default: {
alt: {
type: StringConstructor;
default: string;
};
error: {
type: PropType<TdImageProps['error']>;
};
fallback: {
type: StringConstructor;
default: string;
};
fit: {
type: PropType<TdImageProps['fit']>;
default: TdImageProps['fit'];
validator(val: TdImageProps['fit']): boolean;
};
lazy: BooleanConstructor;
loading: {
type: PropType<TdImageProps['loading']>;
};
position: {
type: StringConstructor;
default: string;
};
referrerpolicy: {
type: PropType<TdImageProps['referrerpolicy']>;
validator(val: TdImageProps['referrerpolicy']): boolean;
};
shape: {
type: PropType<TdImageProps['shape']>;
default: TdImageProps['shape'];
validator(val: TdImageProps['shape']): boolean;
};
src: {
type: StringConstructor;
default: string;
};
srcset: {
type: PropType<TdImageProps['srcset']>;
};
onError: PropType<TdImageProps['onError']>;
onLoad: PropType<TdImageProps['onLoad']>;
};
export default _default;