UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

71 lines (70 loc) 2.16 kB
import type { PropType, ExtractPropTypes } from 'vue'; import type { ImageFitType, ImageCallBackInterface } from './interface'; export declare const Props: { readonly src: { readonly type: StringConstructor; readonly default: () => string; }; readonly alt: { readonly type: StringConstructor; readonly default: () => string; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly rootMargin: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly width: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly height: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly fit: { readonly type: PropType<ImageFitType>; readonly default: () => ImageFitType; readonly validator: (val: ImageFitType) => boolean; }; readonly noSelect: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly referrerPolicy: { readonly type: StringConstructor; readonly default: () => string; }; readonly round: { readonly type: PropType<string | number>; readonly default: () => number; }; readonly errSrc: { readonly type: StringConstructor; readonly default: () => string; }; readonly title: { readonly type: StringConstructor; readonly default: () => string; }; readonly load: { readonly type: PropType<ImageCallBackInterface>; readonly default: () => null; }; readonly error: { readonly type: PropType<ImageCallBackInterface>; readonly default: () => null; }; }; export declare type ImagePropsType = ExtractPropTypes<typeof Props>;