vue-admin-core
Version:
A Component Library for Vue 3
39 lines (38 loc) • 1.17 kB
TypeScript
import { ElUpload } from "element-plus";
export type UploadProps = typeof ElUpload & {
textContent?: string;
errorAdaptor?: (error?: ErrorEvent) => string;
};
export declare const Upload: import("vue").DefineComponent<{
textContent: {
type: StringConstructor;
default: string;
};
errorAdaptor: {
type: FunctionConstructor;
default(error?: ErrorEvent): string;
};
fileList: {
type: ArrayConstructor;
};
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
textContent: {
type: StringConstructor;
default: string;
};
errorAdaptor: {
type: FunctionConstructor;
default(error?: ErrorEvent): string;
};
fileList: {
type: ArrayConstructor;
};
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
}, {
textContent: string;
errorAdaptor: Function;
}, {}>;
export default Upload;