UNPKG

t-fighting-design

Version:

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

47 lines (46 loc) 1.48 kB
import type { PropType, ExtractPropTypes } from 'vue'; import type { ImagePreviewCloseInterface } from './interface'; export declare const Props: { readonly visible: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly imgList: { readonly type: PropType<string[]>; readonly default: () => string[]; }; readonly modalClose: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly isCloseBtn: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly showIndex: { readonly type: NumberConstructor; readonly default: () => number; readonly validator: (val: number) => boolean; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: () => number; readonly validator: (val: number) => boolean; }; readonly isOption: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly round: { readonly type: StringConstructor; readonly default: () => string; }; readonly close: { readonly type: PropType<ImagePreviewCloseInterface>; readonly default: () => null; }; }; export declare const Emits: { readonly 'update:visible': (visible: boolean) => boolean; }; export declare type ImagePreviewPropsType = ExtractPropTypes<typeof Props>;