react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
25 lines (24 loc) • 706 B
TypeScript
import Default from "./Default";
export default class Upload extends Default {
/** Non-builder variables are set before the constructor. */
_fileWasUploaded: boolean;
constructor();
/** Builder specific functions. */
_url: any;
url(v: any): this;
_header: any;
header(v: any): this;
_onThen: any;
onThen(v: any): this;
_onCatch: any;
onCatch(v: any): this;
_fileType: any;
fileType(v: string): this;
_fileList: any[];
fileList(v: any[]): this;
/** On-functions are called by the .tsx and set by the builder. */
_onFileDeleted: () => void;
onFileDeleted(v: any): this;
/** Component-return functions. */
clearFiles: any;
}