linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
27 lines (26 loc) β’ 811 B
TypeScript
declare const useCoreOptions: ({ state, dispatch, props }: {
state: any;
dispatch: any;
props: any;
}) => {
CoreMethods: {
getIsMaxCount: () => boolean;
getFileHasValue: (obj: any) => string;
getFileFields: (fileParams: any) => {};
beforeUpload: (e: any) => Promise<void>;
checkOver: (file: any) => Promise<void>;
getUploadStatus: () => {
uploading: boolean;
};
remove: (file: any) => Promise<void>;
preview: (this: any, file: any) => void;
download: (file: any) => void;
move: (active: any, over: any, fileList: any) => void;
};
RefMethods: {
getState: () => any;
getFileList: () => any;
uploadFile: (file: any) => void;
};
};
export default useCoreOptions;