magic-design
Version:
> A Vue3.0 Component Lib
26 lines (25 loc) • 890 B
TypeScript
import { PropType } from "vue";
import { FileItem, ListType } from "./interface";
declare const _default: import("vue").DefineComponent<{
fileItem: {
type: PropType<FileItem>;
required: true;
};
listType: {
type: PropType<ListType>;
default: string;
};
}, {
removeFile: () => void;
stateIconClass: import("vue").ComputedRef<any>;
fileIconClass: import("vue").ComputedRef<"m-icon-file" | "m-icon-image">;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
fileItem?: unknown;
listType?: unknown;
} & {
fileItem: FileItem;
listType: ListType;
} & {}>, {
listType: ListType;
}>;
export default _default;